feat(admin-auth): add first-start onboarding flow and dev db reset command
This commit is contained in:
11
apps/admin/scripts/seed-support-user.ts
Normal file
11
apps/admin/scripts/seed-support-user.ts
Normal file
@@ -0,0 +1,11 @@
|
||||
import { ensureSupportUserBootstrap } from "../src/lib/auth/server"
|
||||
|
||||
async function main() {
|
||||
await ensureSupportUserBootstrap()
|
||||
console.log("Support user bootstrap completed")
|
||||
}
|
||||
|
||||
main().catch((error) => {
|
||||
console.error(error)
|
||||
process.exit(1)
|
||||
})
|
||||
Reference in New Issue
Block a user