mirror of
https://github.com/bitwarden/browser.git
synced 2024-11-06 09:20:43 +01:00
whiteListedDomains for jwt
This commit is contained in:
parent
463efc2254
commit
91582691d8
@ -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) {
|
||||
|
Loading…
Reference in New Issue
Block a user