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
+1 -1
View File
@@ -119,7 +119,7 @@ app.controller('SetupAccountController', ['$scope', '$translate', '$http', funct
}
}
$http.post(API_ORIGIN + '/api/v1/cloudron/setup_account', data).success(function (data, status) {
$http.post(API_ORIGIN + '/api/v1/auth/setup_account', data).success(function (data, status) {
if (status !== 201) return error(data, status);
// set token to autologin