fix(storage): use boolean instead of integer (#2776)
This fixes an issue where an integer is used instead of a boolean.pull/2691/head
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