Skip to content

Commit 0b0a67b

Browse files
daviftorresCopilot
andauthored
Apply suggestions from code review
Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>
1 parent b70733a commit 0b0a67b

3 files changed

Lines changed: 6 additions & 0 deletions

File tree

ui/src/views/dashboard/SetupTwoFaAtLogin.vue

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -111,6 +111,8 @@
111111
<a-form-item @finish="submitPin" v-ctrl-enter="submitPin" name="code" ref="code">
112112
<a-input
113113
v-model:value="form.code"
114+
autocomplete="one-time-code"
115+
inputmode="numeric"
114116
placeholder="xxxxxx" />
115117
</a-form-item>
116118
</a-col>

ui/src/views/dashboard/VerifyTwoFa.vue

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -36,6 +36,8 @@
3636
<a-input
3737
style="width: 500px"
3838
v-model:value="form.code"
39+
autocomplete="one-time-code"
40+
inputmode="numeric"
3941
placeholder="xxxxxx" />
4042
</a-form-item>
4143
<br/>

ui/src/views/iam/SetupTwoFaAtUserProfile.vue

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -102,6 +102,8 @@
102102
<a-form-item @finish="submitPin" v-ctrl-enter="submitPin" name="code" ref="code">
103103
<a-input
104104
v-model:value="form.code"
105+
autocomplete="one-time-code"
106+
inputmode="numeric"
105107
placeholder="xxxxxx" />
106108
</a-form-item>
107109
</a-col>

0 commit comments

Comments
 (0)