mirror of
https://github.com/bitwarden/browser
synced 2025-12-19 01:33:33 +00:00
Add helper methods to EnvironmentService for retrieving urls (#435)
This commit is contained in:
@@ -18,10 +18,7 @@ export abstract class CaptchaProtectedComponent {
|
||||
protected platformUtilsService: PlatformUtilsService) { }
|
||||
|
||||
async setupCaptcha() {
|
||||
let webVaultUrl = this.environmentService.getWebVaultUrl();
|
||||
if (webVaultUrl == null) {
|
||||
webVaultUrl = 'https://vault.bitwarden.com';
|
||||
}
|
||||
const webVaultUrl = this.environmentService.getWebVaultUrl();
|
||||
|
||||
this.captcha = new CaptchaIFrame(window, webVaultUrl,
|
||||
this.i18nService, (token: string) => {
|
||||
|
||||
Reference in New Issue
Block a user