diff options
| author | dakkar <dakkar@thenautilus.net> | 2024-04-12 15:42:31 +0100 |
|---|---|---|
| committer | dakkar <dakkar@thenautilus.net> | 2024-04-12 15:42:31 +0100 |
| commit | 4ebff431c8a0d4d9dab630f69094b0ec2fc0c0ac (patch) | |
| tree | fa4cfad4dd03ab76b890156d16498bd305fc9722 | |
| parent | fix `UserEntityService` (diff) | |
| download | sharkey-4ebff431c8a0d4d9dab630f69094b0ec2fc0c0ac.tar.gz sharkey-4ebff431c8a0d4d9dab630f69094b0ec2fc0c0ac.tar.bz2 sharkey-4ebff431c8a0d4d9dab630f69094b0ec2fc0c0ac.zip | |
use ph-numpad for TOTP hint
| -rw-r--r-- | packages/frontend/src/components/MkPasswordDialog.vue | 2 | ||||
| -rw-r--r-- | packages/frontend/src/components/MkSignin.vue | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/packages/frontend/src/components/MkPasswordDialog.vue b/packages/frontend/src/components/MkPasswordDialog.vue index 1cc5066846..3a13326946 100644 --- a/packages/frontend/src/components/MkPasswordDialog.vue +++ b/packages/frontend/src/components/MkPasswordDialog.vue @@ -27,7 +27,7 @@ SPDX-License-Identifier: AGPL-3.0-only <MkInput v-if="$i.twoFactorEnabled" v-model="token" type="text" :pattern="isBackupCode ? '^[A-Z0-9]{32}$' :'^[0-9]{6}$'" autocomplete="one-time-code" required :spellcheck="false" :inputmode="isBackupCode ? undefined : 'numeric'"> <template #label>{{ i18n.ts.token }} ({{ i18n.ts['2fa'] }})</template> - <template #prefix><i v-if="isBackupCode" class="ph-keyhole ph-bold ph-lg"></i><i v-else class="ph-math-operations ph-bold ph-lg"></i></template> + <template #prefix><i v-if="isBackupCode" class="ph-keyhole ph-bold ph-lg"></i><i v-else class="ph-numpad ph-bold ph-lg"></i></template> <template #caption><button class="_textButton" type="button" @click="isBackupCode = !isBackupCode">{{ isBackupCode ? i18n.ts.useTotp : i18n.ts.useBackupCode }}</button></template> </MkInput> diff --git a/packages/frontend/src/components/MkSignin.vue b/packages/frontend/src/components/MkSignin.vue index ebfb150832..6f7994dccb 100644 --- a/packages/frontend/src/components/MkSignin.vue +++ b/packages/frontend/src/components/MkSignin.vue @@ -38,7 +38,7 @@ SPDX-License-Identifier: AGPL-3.0-only </MkInput> <MkInput v-model="token" type="text" :pattern="isBackupCode ? '^[A-Z0-9]{32}$' :'^[0-9]{6}$'" autocomplete="one-time-code" required :spellcheck="false" :inputmode="isBackupCode ? undefined : 'numeric'"> <template #label>{{ i18n.ts.token }} ({{ i18n.ts['2fa'] }})</template> - <template #prefix><i v-if="isBackupCode" class="ph-keyhole ph-bold ph-lg"></i><i v-else class="ph-math-operations ph-bold ph-lg"></i></template> + <template #prefix><i v-if="isBackupCode" class="ph-keyhole ph-bold ph-lg"></i><i v-else class="ph-numpad ph-bold ph-lg"></i></template> <template #caption><button class="_textButton" type="button" @click="isBackupCode = !isBackupCode">{{ isBackupCode ? i18n.ts.useTotp : i18n.ts.useBackupCode }}</button></template> </MkInput> <MkButton type="submit" :disabled="signing" large primary rounded style="margin: 0 auto;">{{ signing ? i18n.ts.loggingIn : i18n.ts.login }}</MkButton> |