mirror of
https://github.com/fosrl/pangolin.git
synced 2025-06-24 06:08:48 +02:00
refactor and reorganize
This commit is contained in:
parent
9732098799
commit
3b4a993704
216 changed files with 519 additions and 2128 deletions
|
@ -1,13 +1,13 @@
|
|||
import { generateId, invalidateAllSessions } from "@server/auth";
|
||||
import { generateId, invalidateAllSessions } from "@server/auth/sessions/app";
|
||||
import { hashPassword, verifyPassword } from "@server/auth/password";
|
||||
import { passwordSchema } from "@server/auth/passwordSchema";
|
||||
import config from "@server/config";
|
||||
import config from "@server/lib/config";
|
||||
import db from "@server/db";
|
||||
import { users } from "@server/db/schema";
|
||||
import logger from "@server/logger";
|
||||
import { eq } from "drizzle-orm";
|
||||
import moment from "moment";
|
||||
import { fromError } from "zod-validation-error";
|
||||
import { passwordSchema } from "@server/auth/passwordSchema";
|
||||
|
||||
export async function setupServerAdmin() {
|
||||
const {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue