delete recovery token apis
This commit is contained in:
parent
2539a9c23f
commit
a209c9450a
|
@ -8,7 +8,7 @@ angular
|
|||
$qProvider.errorOnUnhandledRejections(false);
|
||||
$locationProvider.hashPrefix('');
|
||||
jwtOptionsProvider.config({
|
||||
urlParam: 'access_token3',
|
||||
urlParam: 'access_token',
|
||||
whiteListedDomains: appSettings.whitelistDomains
|
||||
});
|
||||
var refreshPromise;
|
||||
|
@ -263,6 +263,24 @@ angular
|
|||
bodyClass: 'login-page'
|
||||
}
|
||||
})
|
||||
.state('frontend.recover-delete', {
|
||||
url: '^/recover-delete',
|
||||
templateUrl: 'app/accounts/views/accountsRecoverDelete.html',
|
||||
controller: 'accountsRecoverDeleteController',
|
||||
data: {
|
||||
pageTitle: 'Delete Account',
|
||||
bodyClass: 'login-page'
|
||||
}
|
||||
})
|
||||
.state('frontend.verify-recover-delete', {
|
||||
url: '^/verify-recover-delete?userId&token&email',
|
||||
templateUrl: 'app/accounts/views/accountsVerifyRecoverDelete.html',
|
||||
controller: 'accountsVerifyRecoverDeleteController',
|
||||
data: {
|
||||
pageTitle: 'Confirm Delete Account',
|
||||
bodyClass: 'login-page'
|
||||
}
|
||||
})
|
||||
.state('frontend.register', {
|
||||
url: '^/register?org&premium',
|
||||
templateUrl: 'app/accounts/views/accountsRegister.html',
|
||||
|
|
|
@ -114,6 +114,8 @@
|
|||
email: { url: _apiUri + '/accounts/email', method: 'POST', params: {} },
|
||||
verifyEmailToken: { url: _apiUri + '/accounts/verify-email-token', method: 'POST', params: {} },
|
||||
verifyEmail: { url: _apiUri + '/accounts/verify-email', method: 'POST', params: {} },
|
||||
postDeleteRecoverToken: { url: _apiUri + '/accounts/delete-recover-token', method: 'POST', params: {} },
|
||||
postDeleteRecover: { url: _apiUri + '/accounts/delete-recover', method: 'POST', params: {} },
|
||||
putPassword: { url: _apiUri + '/accounts/password', method: 'POST', params: {} },
|
||||
getProfile: { url: _apiUri + '/accounts/profile', method: 'GET', params: {} },
|
||||
putProfile: { url: _apiUri + '/accounts/profile', method: 'POST', params: {} },
|
||||
|
|
Loading…
Reference in New Issue