fix: missing label (#3081)

This commit is contained in:
Vlad Stan
2025-04-02 14:51:15 +03:00
committed by GitHub
parent 6834b5e00f
commit 3a7a88857a
4 changed files with 8 additions and 5 deletions

View File

@@ -38,7 +38,7 @@
:type="loginData.isPwdRepeat ? 'password' : 'text'"
autocomplete="off"
:label="$t('password_repeat')"
:rules="[(val) => !val || val.length >= 8 || $t('invalid_password'), (val) => val === loginData.password || 'Passwords_dont_match']"
:rules="[(val) => !val || val.length >= 8 || $t('invalid_password'), (val) => val === loginData.password || $t('invalid_password_repeat')]"
><template v-slot:append>
<q-icon
:name="loginData.isPwdRepeat ? 'visibility_off' : 'visibility'"

View File

@@ -184,12 +184,13 @@
</p>
<p v-else-if="authAction === 'register'" class="q-mb-none">
Aready have an account?
<span v-text="$t('existing_account_question')"></span>
<span
class="text-secondary cursor-pointer"
@click="showLogin('username-password')"
>Login</span
>
v-text="$t('login')"
></span>
</p>
</div>
</username-password>

File diff suppressed because one or more lines are too long

View File

@@ -322,6 +322,7 @@ window.localisation.en = {
update_pubkey: 'Update Public Key',
set_password: 'Set Password',
invalid_password: 'Password must have at least 8 characters',
invalid_password_repeat: 'Passwords do not match',
login: 'Login',
register: 'Register',
username: 'Username',
@@ -337,6 +338,7 @@ window.localisation.en = {
invalid_username: 'Invalid Username',
auth_provider: 'Auth Provider',
my_account: 'My Account',
existing_account_question: 'Already have an account?',
background_image: 'Background Image',
back: 'Back',
logout: 'Logout',