We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent be0ffbc commit 285cfb7Copy full SHA for 285cfb7
interface/web/login/index.php
@@ -160,7 +160,7 @@ public function render() {
160
} else {
161
if(stristr($username, '@')) {
162
//* mailuser login
163
- $sql = "SELECT * FROM mail_user WHERE login = '$username'";
+ $sql = "SELECT * FROM mail_user WHERE login = '$username' or email = '$username'";
164
$mailuser = $app->db->queryOneRecord($sql);
165
$user = false;
166
if($mailuser) {
0 commit comments