We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
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)); };
The text was updated successfully, but these errors were encountered:
Whoops, also tried btw
dpd[d].logout = function(s, e) { return $http.post(serverRoot + '/users//logout', null, { withCredentials: true }).success(function(data, status, headers, config) { return; }).success(checkUndefinedFunc(s)).error(ef).error(checkUndefinedFunc(e)); };
Sorry, something went wrong.
You may just need to look at how the regular dpd.js does this and submit a PR to mimic the behavior here.
No branches or pull requests
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)
The text was updated successfully, but these errors were encountered: