refactor: add EmptyAllowed to authMw2fa
This commit is contained in:
parent
bf8d909a3c
commit
0efcd35d65
|
@ -276,6 +276,7 @@ func (a AccountAPI) Routes() (*httprouter.Router, error) {
|
|||
Accounts: a.accounts,
|
||||
Config: a.config,
|
||||
Purpose: account.JWTPurpose2FA,
|
||||
EmptyAllowed: true,
|
||||
})
|
||||
|
||||
authMw := authMiddleware(middleware.AuthMiddlewareOptions{
|
||||
|
|
Loading…
Reference in New Issue