feat: support change-password and admin must_change_password
This commit is contained in:
@@ -55,7 +55,6 @@ const handlePasswordLogin = async () => {
|
||||
try {
|
||||
const res = await loginWithPassword({ email: email.value, password: password.value })
|
||||
await handleLoginSuccess(res.token)
|
||||
router.push('/dashboard')
|
||||
} catch (err: any) {
|
||||
errorMessage.value = 'Credenziali non valide.'
|
||||
} finally {
|
||||
|
||||
Reference in New Issue
Block a user