feat: add user dashboard, profile management, and password reset pages.
This commit is contained in:
parent
ec67c7c6b6
commit
0ec99b140a
3 changed files with 59 additions and 39 deletions
|
|
@ -61,7 +61,8 @@ const phoneRules = [
|
|||
]
|
||||
const passwordRules = [
|
||||
(val: string) => !!val || t('common.required'),
|
||||
(val: string) => val.length >= 6 || t('common.passwordTooShort')
|
||||
(val: string) => val.length >= 6 || t('common.passwordTooShort'),
|
||||
(val: string) => val !== passwordForm.currentPassword || 'รหัสผ่านใหม่ต้องไม่ซ้ำกับรหัสผ่านปัจจุบัน'
|
||||
]
|
||||
const confirmPasswordRules = [
|
||||
(val: string) => !!val || t('common.required'),
|
||||
|
|
@ -442,7 +443,7 @@ onMounted(() => {
|
|||
:type="showCurrentPassword ? 'text' : 'password'"
|
||||
outlined dense rounded
|
||||
class="premium-q-input"
|
||||
placeholder="••••••••"
|
||||
placeholder=""
|
||||
:rules="[val => !!val || $t('common.required')]"
|
||||
>
|
||||
<template v-slot:append>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue