mirror of
https://github.com/fosrl/pangolin.git
synced 2025-08-04 18:14:53 +02:00
move auth utils
This commit is contained in:
parent
2312cdeea7
commit
d9022c5377
9 changed files with 12 additions and 12 deletions
|
@ -8,8 +8,8 @@ import { db } from "@server/db";
|
|||
import { twoFactorBackupCodes, User, users } from "@server/db/schema";
|
||||
import { eq } from "drizzle-orm";
|
||||
import { response } from "@server/utils";
|
||||
import { verifyPassword } from "./password";
|
||||
import { verifyTotpCode } from "./2fa";
|
||||
import { verifyPassword } from "@server/auth/password";
|
||||
import { verifyTotpCode } from "@server/auth/2fa";
|
||||
|
||||
export const disable2faBody = z.object({
|
||||
password: z.string(),
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue