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 = `
|
queryFmtSelect1FAAuthenticationLogEntryByUsername = `
|
||||||
SELECT time, successful, username
|
SELECT time, successful, username
|
||||||
FROM %s
|
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
|
ORDER BY time DESC
|
||||||
LIMIT ?
|
LIMIT ?
|
||||||
OFFSET ?;`
|
OFFSET ?;`
|
||||||
|
|
Loading…
Reference in New Issue
Block a user