mirror of
https://github.com/e107inc/e107.git
synced 2025-01-17 20:58:30 +01:00
Captcha login message fix. Backward compat styling fixes.
This commit is contained in:
parent
59cacab228
commit
e974bdd665
@ -165,12 +165,11 @@ class userlogin
|
||||
// Check secure image
|
||||
if (!$forceLogin && $pref['logcode'] && extension_loaded('gd'))
|
||||
{
|
||||
require_once(e_HANDLER."secure_img_handler.php");
|
||||
$sec_img = new secure_image;
|
||||
if (!$sec_img->verify_code($_POST['rand_num'], $_POST['code_verify']))
|
||||
{ // Invalid code
|
||||
return $this->invalidLogin($username,LOGIN_BAD_CODE);
|
||||
if ($secImgResult = e107::getSecureImg()->invalidCode($_POST['rand_num'], $_POST['code_verify'])) // Invalid code
|
||||
{
|
||||
return $this->invalidLogin($username, LOGIN_BAD_CODE, $secImgResult);
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
if (empty($this->userData)) // May have retrieved user data earlier
|
||||
@ -578,7 +577,7 @@ class userlogin
|
||||
$doCheck = true;
|
||||
break;
|
||||
case LOGIN_BAD_CODE :
|
||||
$message = LAN_LOGIN_23;
|
||||
$message = $extra_text; // LAN_LOGIN_23;
|
||||
$this->logNote('LAN_ROLL_LOG_02', $username);
|
||||
break;
|
||||
case LOGIN_NOT_ACTIVATED :
|
||||
|
@ -13,9 +13,11 @@
|
||||
.forum-attachment-file { margin-top:15px; }
|
||||
.forum-user-combo { padding-bottom:5px }
|
||||
|
||||
/*
|
||||
|
||||
ul.newforumposts-menu { padding-left: 10px; }
|
||||
ul.newforumposts-menu li { margin-bottom: 15px; }
|
||||
*/
|
||||
|
||||
div.forum-poll-results { padding-left:0 }
|
||||
.forum-viewtopic-customtitle {
|
||||
|
@ -28,3 +28,4 @@ div.news-empty { text-align:center; font-weight: bold }
|
||||
div.checkboxes label.checkbox { display: block }
|
||||
|
||||
textarea.bbarea { margin:0; }
|
||||
#chatbox-input-block { text-align:center }
|
Loading…
x
Reference in New Issue
Block a user