mirror of
https://git.tt-rss.org/git/tt-rss.git
synced 2025-12-13 03:25:55 +00:00
authentication: make logins case-insensitive (force lowercase)
This commit is contained in:
@@ -502,7 +502,7 @@
|
||||
|
||||
Debug::log("Exporting feeds of user $user to $filename as OPML...");
|
||||
|
||||
$sth = $pdo->prepare("SELECT id FROM ttrss_users WHERE login = ?");
|
||||
$sth = $pdo->prepare("SELECT id FROM ttrss_users WHERE LOWER(login) = LOWER(?)");
|
||||
$sth->execute([$user]);
|
||||
|
||||
if ($res = $sth->fetch()) {
|
||||
|
||||
Reference in New Issue
Block a user