mirror of
https://github.com/pandorafms/pandorafms.git
synced 2025-07-31 01:35:36 +02:00
#10254 added message timeout
This commit is contained in:
parent
052852f2d1
commit
8aaa98a741
@ -244,7 +244,6 @@ function process_user_login_remote($login, $pass, $api=false)
|
|||||||
}
|
}
|
||||||
|
|
||||||
if ($sr === false) {
|
if ($sr === false) {
|
||||||
$config['auth_error'] = 'User not found in database or incorrect password';
|
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
break;
|
break;
|
||||||
|
@ -711,7 +711,6 @@ if (isset($config['id_user']) === false) {
|
|||||||
login_check_failed($nick);
|
login_check_failed($nick);
|
||||||
}
|
}
|
||||||
|
|
||||||
$config['auth_error'] = __('User is blocked');
|
|
||||||
$login_failed = true;
|
$login_failed = true;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user