mirror of
https://github.com/bitwarden/browser
synced 2026-02-11 05:53:42 +00:00
PM-17042: Biometrics auto prompt popup does not show up on safari (#12868)
This is due to missing await before process reload, triggered by lock, effectively disabling the biometrics auto prompt on safari.
This should be detected by eslint, but due to misconfiguration, nothing was reported. Also fixed two other missing awaits on biometrics unlock.
(cherry picked from commit bdab4aa939)
This commit is contained in:
committed by
Maciej Zieniuk
parent
40394cdb3e
commit
db165fb59b
@@ -137,8 +137,8 @@ export class AppComponent implements OnInit, OnDestroy {
|
||||
this.toastService._showToast(msg);
|
||||
} else if (msg.command === "reloadProcess") {
|
||||
if (this.platformUtilsService.isSafari()) {
|
||||
window.setTimeout(() => {
|
||||
this.biometricStateService.updateLastProcessReload();
|
||||
window.setTimeout(async () => {
|
||||
await this.biometricStateService.updateLastProcessReload();
|
||||
window.location.reload();
|
||||
}, 2000);
|
||||
}
|
||||
|
||||
@@ -35,6 +35,8 @@
|
||||
"@bitwarden/platform": ["./libs/platform/src"],
|
||||
"@bitwarden/node/*": ["./libs/node/src/*"],
|
||||
"@bitwarden/vault": ["./libs/vault/src"],
|
||||
"@bitwarden/key-management": ["./libs/key-management/src"],
|
||||
"@bitwarden/key-management/angular": ["./libs/key-management/src/angular"],
|
||||
"@bitwarden/bit-common/*": ["./bitwarden_license/bit-common/src/*"]
|
||||
},
|
||||
"plugins": [
|
||||
|
||||
Reference in New Issue
Block a user