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