mirror of
https://github.com/tinyauthapp/tinyauth.git
synced 2026-09-04 21:23:34 +08:00
fix: disable basic auth on totp users
This commit is contained in:
@@ -51,6 +51,7 @@ type UserContext struct {
|
||||
Provider string
|
||||
TotpPending bool
|
||||
OAuthGroups string
|
||||
TotpEnabled bool
|
||||
}
|
||||
|
||||
// LoginAttempt tracks information about login attempts for rate limiting
|
||||
|
||||
Reference in New Issue
Block a user