mirror of
https://github.com/bitwarden/web
synced 2025-12-10 05:13:40 +00:00
[Bug] Update 2fa navigate action to pass along Org Identifier (#714)
* Add identifer in 2fa navigate action * Update jslib (6563dcc -> d9d13bb) * fixed breaking changes from jslib update
This commit is contained in:
2
jslib
2
jslib
Submodule jslib updated: 6563dccf3b...d9d13bbf0e
@@ -69,7 +69,11 @@ export class TwoFactorComponent extends BaseTwoFactorComponent {
|
|||||||
this.router.navigate([loginRedirect.route], { queryParams: loginRedirect.qParams });
|
this.router.navigate([loginRedirect.route], { queryParams: loginRedirect.qParams });
|
||||||
await this.stateService.remove('loginRedirect');
|
await this.stateService.remove('loginRedirect');
|
||||||
} else {
|
} else {
|
||||||
this.router.navigate([this.successRoute]);
|
this.router.navigate([this.successRoute], {
|
||||||
|
queryParams: {
|
||||||
|
identifier: this.identifier,
|
||||||
|
},
|
||||||
|
});
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -95,7 +95,7 @@ const secureStorageService: StorageServiceAbstraction = new MemoryStorageService
|
|||||||
const cryptoFunctionService: CryptoFunctionServiceAbstraction = new WebCryptoFunctionService(window,
|
const cryptoFunctionService: CryptoFunctionServiceAbstraction = new WebCryptoFunctionService(window,
|
||||||
platformUtilsService);
|
platformUtilsService);
|
||||||
const cryptoService = new CryptoService(storageService,
|
const cryptoService = new CryptoService(storageService,
|
||||||
platformUtilsService.isDev() ? storageService : secureStorageService, cryptoFunctionService);
|
platformUtilsService.isDev() ? storageService : secureStorageService, cryptoFunctionService, platformUtilsService);
|
||||||
const tokenService = new TokenService(storageService);
|
const tokenService = new TokenService(storageService);
|
||||||
const appIdService = new AppIdService(storageService);
|
const appIdService = new AppIdService(storageService);
|
||||||
const apiService = new ApiService(tokenService, platformUtilsService,
|
const apiService = new ApiService(tokenService, platformUtilsService,
|
||||||
|
|||||||
@@ -281,4 +281,8 @@ export class WebPlatformUtilsService implements PlatformUtilsService {
|
|||||||
authenticateBiometric() {
|
authenticateBiometric() {
|
||||||
return Promise.resolve(false);
|
return Promise.resolve(false);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
supportsSecureStorage() {
|
||||||
|
return true;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user