mirror of
https://github.com/fosrl/pangolin.git
synced 2025-08-31 15:09:39 +02:00
move auth utils
This commit is contained in:
parent
0575c0196e
commit
56326f7d6c
9 changed files with 12 additions and 12 deletions
|
@ -8,9 +8,9 @@ import { db } from "@server/db";
|
|||
import { passwordResetTokens, users } from "@server/db/schema";
|
||||
import { eq } from "drizzle-orm";
|
||||
import { sha256 } from "oslo/crypto";
|
||||
import { hashPassword } from "./password";
|
||||
import { verifyTotpCode } from "./2fa";
|
||||
import { passwordSchema } from "./passwordSchema";
|
||||
import { hashPassword } from "@server/auth/password";
|
||||
import { verifyTotpCode } from "@server/auth/2fa";
|
||||
import { passwordSchema } from "@server/auth/passwordSchema";
|
||||
import { encodeHex } from "oslo/encoding";
|
||||
import { isWithinExpirationDate } from "oslo";
|
||||
import lucia from "@server/auth";
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue