Compare commits
No commits in common. "57c1cfb412d7f28aeae643b083d39aee8eb0038e" and "548cddb77399364ff01da505750d1e2037acb6f5" have entirely different histories.
57c1cfb412
...
548cddb773
@ -164,7 +164,7 @@ func (db *T) Authenticate(username, password string) (authenticated bool, userID
|
|||||||
SELECT id
|
SELECT id
|
||||||
FROM _webservice.user
|
FROM _webservice.user
|
||||||
WHERE
|
WHERE
|
||||||
LOWER(username) = LOWER($1) AND
|
username = $1 AND
|
||||||
password = _webservice.password_hash(SUBSTRING(password FROM 1 FOR 32), $2::bytea)
|
password = _webservice.password_hash(SUBSTRING(password FROM 1 FOR 32), $2::bytea)
|
||||||
`,
|
`,
|
||||||
username,
|
username,
|
||||||
|
Loading…
Reference in New Issue
Block a user