Skip to content

Commit

Permalink
fix(readme): remove information about default password
Browse files Browse the repository at this point in the history
  • Loading branch information
maxgfr committed Dec 23, 2024
1 parent 742cd75 commit 0e23751
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 6 deletions.
4 changes: 2 additions & 2 deletions .kontinuous/sql/post-restore.sql
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
-- Anonymize users
UPDATE auth.users as u
SET
password = '$argon2i$v=19$m=4096,t=3,p=1$n9eoWSv+5sCgc7SjB5hLig$iBQ7NzrHHLkJSku/dCetNs+n/JI1CMdkWaoZsUekLU8',
password = '$argon2id$v=19$m=65536,t=3,p=4$mId827NijFQET4RdT+sIMA$FVZz/GH6E4Y4PeDbG+823fyXFCcokEtEdE++ZOMbP3I',
email = u.id || '@travail.gouv.fr',
name = CONCAT(
UPPER(SUBSTRING(name FROM 1 FOR 1)),
Expand All @@ -15,7 +15,7 @@ SET
INSERT INTO auth.users (email, password, name, role, is_active, id)
VALUES (
'[email protected]',
'$argon2i$v=19$m=4096,t=3,p=1$n9eoWSv+5sCgc7SjB5hLig$iBQ7NzrHHLkJSku/dCetNs+n/JI1CMdkWaoZsUekLU8',
'$argon2id$v=19$m=65536,t=3,p=4$mId827NijFQET4RdT+sIMA$FVZz/GH6E4Y4PeDbG+823fyXFCcokEtEdE++ZOMbP3I',
'Administrateur',
'super',
TRUE,
Expand Down
4 changes: 0 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -80,10 +80,6 @@ An administration website is available to configure and inject custom data.
This step starts the frontend project (based on `next.js`). User and admin accounts are automatically created by the
Hasura step.
| Type | Username | Password | Role |
| ----- | -------------------------------------- | -------- | ----- |
| Admin | [email protected] | admin | super |
Frontend is reachable at the address <http://localhost:3001>
> Run the frontend (it starts Hasura as dependency):
Expand Down

0 comments on commit 0e23751

Please sign in to comment.