mirror of
https://github.com/MBombeck/HealthLog.git
synced 2026-11-12 14:16:12 +00:00
style: satisfy v1.34.1 format gate
This commit is contained in:
1 parent
b0a94b3423
commit
75aa850eae
10 files changed
+71
-59
No files matched your search
@@ -56,7 +56,7 @@ export const POST = apiHandler(async (request: NextRequest) => {
|
||||
if (parsed.data.method === "password") {
|
||||
proved = Boolean(
|
||||
user.passwordHash &&
|
||||
(await verifyPassword(user.passwordHash, parsed.data.password)),
|
||||
(await verifyPassword(user.passwordHash, parsed.data.password)),
|
||||
);
|
||||
} else if (parsed.data.method === "totp") {
|
||||
const result = await verifyMfaFactor(user, "totp", parsed.data.code);
|
||||
|
||||
Reference in new issue
Block a user