Revert "Auth: Case insensitive login check on username"

This commit is contained in:
Louis Lam 2023-01-01 22:19:00 +08:00 committed by GitHub
parent e88e10cc8e
commit 50711391d1
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 1 additions and 49 deletions

View file

@ -15,7 +15,7 @@ exports.login = async function (username, password) {
return null;
}
let user = await R.findOne("user", " username = ? AND active = 1", [
let user = await R.findOne("user", " username = ? AND active = 1 ", [
username,
]);