mirror of
https://github.com/open-reception/appointment-booking-software.git
synced 2026-09-30 20:54:49 +02:00
Make sure initial admin is a global admin
This commit is contained in:
@@ -149,6 +149,7 @@ export const POST: RequestHandler = async ({ request, cookies, url }) => {
|
||||
email: body.email,
|
||||
passphrase: body.passphrase, // Will be undefined if passkey is used
|
||||
language: body.language || "de",
|
||||
role: "GLOBAL_ADMIN",
|
||||
},
|
||||
url,
|
||||
);
|
||||
|
||||
Reference in New Issue
Block a user