auth(2fa): block setup after enable to avoid secret reissue
All checks were successful
CI / test (push) Successful in 43s
All checks were successful
CI / test (push) Successful in 43s
This commit is contained in:
@@ -553,6 +553,8 @@ Response:
|
||||
}
|
||||
```
|
||||
|
||||
If 2FA is already enabled for the account, returns `400` (`"2FA is already enabled"`).
|
||||
|
||||
### POST `/api/v1/auth/2fa/enable`
|
||||
|
||||
Auth required.
|
||||
|
||||
Reference in New Issue
Block a user