move various login routes under auth/
This commit is contained in:
@@ -2342,7 +2342,7 @@ angular.module('Application').service('Client', ['$http', '$interval', '$timeout
|
||||
};
|
||||
|
||||
Client.prototype.sendSelfPasswordReset = function (identifier, callback) {
|
||||
post('/api/v1/cloudron/password_reset_request', { identifier }, null, function (error, data, status) {
|
||||
post('/api/v1/auth/password_reset_request', { identifier }, null, function (error, data, status) {
|
||||
if (error) return callback(error);
|
||||
if (status !== 202) return callback(new ClientError(status, data));
|
||||
|
||||
|
||||
Reference in New Issue
Block a user