move various login routes under auth/

This commit is contained in:
Girish Ramakrishnan
2023-08-10 16:21:22 +05:30
parent 9ba6908764
commit 6c4aa605df
13 changed files with 162 additions and 149 deletions

View File

@@ -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));