Skip to content

Commit d9bbac6

Browse files
committed
add superadmin to live-demo
1 parent 9183837 commit d9bbac6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

live-demo/app/index.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -216,7 +216,7 @@ if (import.meta.url === `file://${process.argv[1]}`) {
216216
}
217217
if (!await admin.resource('users').get([Filters.EQ('email', "admin1@adminfoth.dev")])) {
218218
await admin.resource('users').create({
219-
email: "admin@adminfoth.dev",
219+
email: "admin1@adminfoth.dev",
220220
password_hash: await AdminForth.Utils.generatePasswordHash(process.env.ADMIN_PASSWORD),
221221
role: 'superadmin', // THE DEMO user role is 'user' not 'superadmin', he can't do any destructive actions
222222
});

0 commit comments

Comments
 (0)