Fix initial setup user bug, taking the fix from #4836

This commit is contained in:
Jamie Curnow
2025-11-11 14:52:39 +10:00
parent 8aeb2fa661
commit 8bc3078d87

View File

@@ -37,7 +37,7 @@ const setupDefaultUser = async () => {
const data = {
is_deleted: 0,
email: email,
email: initialAdminEmail,
name: "Administrator",
nickname: "Admin",
avatar: "",
@@ -53,7 +53,7 @@ const setupDefaultUser = async () => {
.insert({
user_id: user.id,
type: "password",
secret: password,
secret: initialAdminPassword,
meta: {},
});