fixed critical login TOTP bypass bug! whoops!!!!!
This commit is contained in:
parent
2e93c3c5e5
commit
6e6b995d49
6 changed files with 150 additions and 92 deletions
|
@ -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"`
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue