mirror of
https://github.com/0rangebananaspy/authelia.git
synced 2024-09-14 22:47:21 +07:00
fix(storage): use boolean instead of integer (#2776)
This fixes an issue where an integer is used instead of a boolean.
This commit is contained in:
parent
03caebaad0
commit
d103585aba
|
@ -174,7 +174,7 @@ const (
|
|||
queryFmtSelect1FAAuthenticationLogEntryByUsername = `
|
||||
SELECT time, successful, username
|
||||
FROM %s
|
||||
WHERE time > ? AND username = ? AND auth_type = '1FA' AND banned = 0
|
||||
WHERE time > ? AND username = ? AND auth_type = '1FA' AND banned = FALSE
|
||||
ORDER BY time DESC
|
||||
LIMIT ?
|
||||
OFFSET ?;`
|
||||
|
|
Loading…
Reference in New Issue
Block a user