Commit 8d99f3f
committed
feat(fixtures): add initial admin user fixture
Creates a new data fixture file to seed an initial administrator user
with the email 'admin@example.com'.
This user is loaded into the in-memory repository on startup, providing
a pre-existing privileged account for development and testing of the
dashboard login flow. This is the correct, secure way to provision
initial admin users, removing the need for insecure logic in the public
API services.1 parent 85bc8e9 commit 8d99f3f
1 file changed
+18
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
0 commit comments