We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 9183837 commit d9bbac6Copy full SHA for d9bbac6
live-demo/app/index.ts
@@ -216,7 +216,7 @@ if (import.meta.url === `file://${process.argv[1]}`) {
216
}
217
if (!await admin.resource('users').get([Filters.EQ('email', "admin1@adminfoth.dev")])) {
218
await admin.resource('users').create({
219
- email: "admin@adminfoth.dev",
+ email: "admin1@adminfoth.dev",
220
password_hash: await AdminForth.Utils.generatePasswordHash(process.env.ADMIN_PASSWORD),
221
role: 'superadmin', // THE DEMO user role is 'user' not 'superadmin', he can't do any destructive actions
222
});
0 commit comments