fixed critical login TOTP bypass bug! whoops!!!!!

This commit is contained in:
ari melody 2025-01-26 23:41:35 +00:00
parent 2e93c3c5e5
commit 67e1d368d9
Signed by: ari
GPG key ID: CF99829C92678188
6 changed files with 150 additions and 92 deletions

View file

@ -12,6 +12,7 @@ type Session struct {
ExpiresAt time.Time `json:"expires_at" db:"expires_at"`
Account *Account `json:"-" db:"account"`
AttemptAccount *Account `json:"-" db:"attempt_account"`
Message sql.NullString `json:"-" db:"message"`
Error sql.NullString `json:"-" db:"error"`
}