whiteListedDomains for jwt

This commit is contained in:
Kyle Spearrin 2018-02-26 13:48:26 -05:00
parent 463efc2254
commit 91582691d8
1 changed files with 1 additions and 3 deletions

View File

@ -14,11 +14,9 @@ angular
$qProvider.errorOnUnhandledRejections(false);
$locationProvider.hashPrefix('');
// @if false
jwtOptionsProvider.config({
whiteListedDomains: ['localhost', 'api.bitwarden.com', 'vault.bitwarden.com']
whiteListedDomains: ['localhost', 'api.bitwarden.com', 'vault.bitwarden.com', 'haveibeenpwned.com']
});
// @endif
var refreshPromise;
jwtInterceptorProvider.tokenGetter = /*@ngInject*/ function (options, tokenService, authService) {