Add autocomplete attributes to login form inputs
authorAdam Dullage <redacted>
Sun, 5 May 2024 11:49:45 +0000 (12:49 +0100)
committerAdam Dullage <redacted>
Sun, 5 May 2024 11:49:45 +0000 (12:49 +0100)
client/views/LogIn.vue

index 0ca2070b0d61a98f2f976e871845a462e4c9f2cc..05a99131483d3f4998773e706dfe052c8b9e7d91 100644 (file)
@@ -6,6 +6,7 @@
         v-model="username"
         placeholder="Username"
         class="mb-1"
+        autocomplete="username"
         required
       />
       <TextInput
@@ -13,6 +14,7 @@
         placeholder="Password"
         type="password"
         class="mb-1"
+        autocomplete="current-password"
         required
       />
       <TextInput
@@ -20,6 +22,7 @@
         v-model="totp"
         placeholder="2FA Code"
         class="mb-1"
+        autocomplete="one-time-code"
         required
       />
       <div class="mb-4 flex">
git clone https://git.99rst.org/PROJECT