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