Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
10
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Open sidebar
Zvonimir
ISPConfig 3
Commits
285cfb78
Commit
285cfb78
authored
Sep 01, 2014
by
Till Brehm
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix mailuser logins for systems with cutom mailuser logins.
parent
be0ffbc7
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
interface/web/login/index.php
interface/web/login/index.php
+1
-1
No files found.
interface/web/login/index.php
View file @
285cfb78
...
...
@@ -160,7 +160,7 @@ class login_index {
}
else
{
if
(
stristr
(
$username
,
'@'
))
{
//* mailuser login
$sql
=
"SELECT * FROM mail_user WHERE login = '
$username
'"
;
$sql
=
"SELECT * FROM mail_user WHERE login =
'
$username
' or email =
'
$username
'"
;
$mailuser
=
$app
->
db
->
queryOneRecord
(
$sql
);
$user
=
false
;
if
(
$mailuser
)
{
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment