move auth utils

This commit is contained in:
Milo Schwartz 2024-10-05 22:31:30 -04:00
parent 2312cdeea7
commit d9022c5377
No known key found for this signature in database
9 changed files with 12 additions and 12 deletions

View file

@ -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(),