Migrated auth to Nitro
This commit is contained in:
1 parent
27feb1ce95
commit
eb4e9f0700
16 files changed
+517
-129
No files matched your search
@@ -10,7 +10,7 @@ const submit = async (e: any) => {
|
||||
} catch {}
|
||||
|
||||
try {
|
||||
await auth.signin(data.email, data.password, data.remember)
|
||||
await auth.signin(data.email, data.password, data.remember === "on")
|
||||
} catch (e: string | any) {
|
||||
toast.show(e, "error")
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user