refractor(auth): removed password from everywhere

This commit is contained in:
gabdevele
2026-06-16 10:37:31 +02:00 Unverified
parent 4f80d7f995
commit bb7ed18539
25 changed files with 69 additions and 454 deletions
+4 -5
View File
@@ -36,9 +36,8 @@ has been built.
Local seeded admin:
- email: `admin@visione.local`
- password: `ChangeMe123!`
- the account has `must_change_password = true` and is for local development only.
- email: `admin@visione.gov.it`
- access uses OTP through Mailpit and is for local development only.
If you already had a MySQL volume from the old scaffold, create the local
database/user once:
@@ -55,9 +54,9 @@ docker compose exec -T mysql mysql -uroot -proot -e \
```bash
curl http://localhost:5555/api/v1/health
curl http://localhost:5555/api/v1/ready
curl -X POST http://localhost:5555/api/v1/auth/login/password \
curl -X POST http://localhost:5555/api/v1/auth/otp/request \
-H 'Content-Type: application/json' \
-d '{"email":"admin@visione.local","password":"ChangeMe123!"}'
-d '{"email":"admin@visione.gov.it"}'
```
Use `-DUSE_SYSTEM_DROGON=ON` only if Drogon is already installed and