Skip to content

dpd.users.logout and dpd.users.exec('logout') both fail. #7

@fotoflo

Description

@fotoflo

dpd.users.logout and dpd.users.exec('logout') both fail.

The former is undefined and the latter:

dpd.users.exec('logout') gets
POST http://localhost:2403/users/logout 400 (Bad Request)

Also tried adding the following function to the library with no success (get a 404 error)

            dpd[d].logout = function(s, e) {
                return $http.post(serverRoot + '/logout', null, { withCredentials: true }).success(function(data, status, headers, config) {
                  return;
                }).success(checkUndefinedFunc(s)).error(ef).error(checkUndefinedFunc(e));
            };

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions