refractor(auth): removed password from everywhere
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user