about summary refs log tree commit diff
path: root/src
diff options
context:
space:
mode:
authorrcombs <rcombs@rcombs.me>2024-12-10 13:16:45 -0800
committerGitHub <noreply@github.com>2024-12-10 21:16:45 +0000
commit6308e91de68c3b5a487b485ce6b47361ae635153 (patch)
treeca9e68d37339b3910e93738459b2271f021ccab8 /src
parentb7ddb07d906f789b43481e629b2f102884121e27 (diff)
downloadvoidsky-6308e91de68c3b5a487b485ce6b47361ae635153.tar.zst
LoginForm: enable autocomplete on 2FA code field (#7019)
This should (fingers crossed) work in Safari, at least.
Diffstat (limited to 'src')
-rw-r--r--src/screens/Login/LoginForm.tsx2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/screens/Login/LoginForm.tsx b/src/screens/Login/LoginForm.tsx
index f3661ac92..6a48b1bcc 100644
--- a/src/screens/Login/LoginForm.tsx
+++ b/src/screens/Login/LoginForm.tsx
@@ -257,7 +257,7 @@ export const LoginForm = ({
               autoCapitalize="none"
               autoFocus
               autoCorrect={false}
-              autoComplete="off"
+              autoComplete="one-time-code"
               returnKeyType="done"
               textContentType="username"
               blurOnSubmit={false} // prevents flickering due to onSubmitEditing going to next field