mirror of
https://github.com/rybbit-io/rybbit.git
synced 2025-05-12 12:55:36 +02:00
load trustedOrigins from db
This commit is contained in:
parent
08435e4c3c
commit
e1f299fc8a
4 changed files with 47 additions and 33 deletions
|
@ -110,7 +110,7 @@ export async function initializePostgres() {
|
|||
const user =
|
||||
await sql`SELECT count(*) FROM "user" WHERE username = 'admin'`;
|
||||
if (user.length === 0) {
|
||||
auth.api.signUpEmail({
|
||||
auth!.api.signUpEmail({
|
||||
body: {
|
||||
email: "test@test.com",
|
||||
username: "admin",
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue