mirror of
https://github.com/bitwarden/browser.git
synced 2024-11-23 11:56:00 +01:00
move prompy on init to desktop (#135)
This commit is contained in:
parent
566e88f52a
commit
1f1dfec0fe
@ -1,6 +1,5 @@
|
||||
import { OnInit } from '@angular/core';
|
||||
import { Router } from '@angular/router';
|
||||
import { first } from 'rxjs/operators';
|
||||
|
||||
import { ApiService } from '../../abstractions/api.service';
|
||||
import { CryptoService } from '../../abstractions/crypto.service';
|
||||
@ -59,11 +58,6 @@ export class LockComponent implements OnInit {
|
||||
vaultUrl = 'https://bitwarden.com';
|
||||
}
|
||||
this.webVaultHostname = Utils.getHostname(vaultUrl);
|
||||
this.router.routerState.root.queryParams.pipe(first()).subscribe((params) => {
|
||||
if (this.supportsBiometric && params.promptBiometric) {
|
||||
this.unlockBiometric();
|
||||
}
|
||||
});
|
||||
}
|
||||
|
||||
async submit() {
|
||||
|
Loading…
Reference in New Issue
Block a user