refactor: set ExpiredAllowed on loginAuthMw2fa
This commit is contained in:
parent
2528fd0afe
commit
7616d9f7c9
|
@ -357,6 +357,7 @@ func (a *AccountAPI) Routes() (*httprouter.Router, error) {
|
|||
Config: a.config,
|
||||
Purpose: account.JWTPurpose2FA,
|
||||
EmptyAllowed: true,
|
||||
ExpiredAllowed: true,
|
||||
})
|
||||
|
||||
authMw := authMiddleware(middleware.AuthMiddlewareOptions{
|
||||
|
|
Loading…
Reference in New Issue