forked from ZwiiCMS-Team/ZwiiCMS
espaces en trop + supprimer =
This commit is contained in:
parent
00a3243d87
commit
2e929d142b
@ -64,7 +64,7 @@ class template {
|
||||
$html = '<div class="captcha" id="' . $attributes['id'] . 'Wrapper" class="inputWrapper ' . $attributes['classWrapper'] . '">';
|
||||
// Label
|
||||
$html .= self::label($attributes['id'],
|
||||
'<img src="' . helper::baseUrl(false) . 'site/tmp/' . $firstLetter . '.png" />' . template::ico('plus') . '<img class="captchaNumber" src="' . helper::baseUrl(false) . 'site/tmp/' . $secondLetter . '.png" /> = en chiffres ?', [
|
||||
'<img src="' . helper::baseUrl(false) . 'site/tmp/' . $firstLetter . '.png" />' . template::ico('plus') . '<img class="captchaNumber" src="' . helper::baseUrl(false) . 'site/tmp/' . $secondLetter . '.png" /> en chiffres ?', [
|
||||
'help' => $attributes['help']
|
||||
]);
|
||||
// Notice
|
||||
|
@ -337,15 +337,12 @@ class user extends common {
|
||||
// Check la captcha
|
||||
if(
|
||||
$this->getData(['config','connect','captcha'])
|
||||
|
||||
AND password_verify($this->getInput('userLoginCaptcha', helper::FILTER_INT), $this->getInput('userLoginCaptchaResult') ) === false )
|
||||
{
|
||||
self::$inputNotices['userLoginCaptcha'] = 'Incorrect';
|
||||
} else {
|
||||
|
||||
// Lire Id du compte
|
||||
$userId = $this->getInput('userLoginId', helper::FILTER_ID, true);
|
||||
|
||||
/**
|
||||
* Aucun compte existant
|
||||
*/
|
||||
|
Loading…
Reference in New Issue
Block a user