mirror of
https://github.com/fosrl/pangolin.git
synced 2026-02-12 16:06:38 +00:00
make config class and separate migrations script
This commit is contained in:
@@ -12,7 +12,7 @@ import { fromError } from "zod-validation-error";
|
||||
export async function setupServerAdmin() {
|
||||
const {
|
||||
server_admin: { email, password }
|
||||
} = config.users;
|
||||
} = config.getRawConfig().users;
|
||||
|
||||
const parsed = passwordSchema.safeParse(password);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user