mirror of
https://github.com/bitwarden/browser
synced 2025-12-15 07:43:35 +00:00
Disable auto prompt for mobile chrome (#1156)
This commit is contained in:
@@ -105,8 +105,8 @@ function start() {
|
||||
|
||||
stopWebAuthn = false;
|
||||
|
||||
if (navigator.userAgent.indexOf(' Safari/') !== -1 && navigator.userAgent.indexOf('Chrome') === -1) {
|
||||
// Safari blocks non-user initiated WebAuthn requests.
|
||||
if (callbackUri != null || (navigator.userAgent.indexOf(' Safari/') !== -1 && navigator.userAgent.indexOf('Chrome') === -1)) {
|
||||
// Safari and mobile chrome blocks non-user initiated WebAuthn requests.
|
||||
} else {
|
||||
executeWebAuthn();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user