Merge branch 'master' into 10400

This commit is contained in:
Fred Tempez 2020-10-10 20:15:29 +02:00
commit 93e2dd40e3
4 changed files with 12 additions and 4 deletions

6
.gitignore vendored
View File

@ -36,3 +36,9 @@ site/data/journal.log
.DS_Store
site/.DS_Store
site/file/.DS_Store
site/tmp/5f7f5e998762c.png
site/tmp/5f7f5e9987628.png
site/tmp/5f7f5ea3e983b.png
site/tmp/5f7f5ea3e9837.png
site/tmp/5f7f5ea20d5eb.png
site/tmp/5f7f5ea20d5ee.png

View File

@ -4,6 +4,7 @@
- Modifications :
- Module User
- Pour les articles de blog et de news, choix de la signature, nom+prenom ; nom+prenom ; id ; pseudo
- Importation d'un liste d'utilisateur dans un fichier plat (CSV).
- Module Blog :
- Texte du commentaire enrichi.
- Nombre maximal de caractère par commentaire.
@ -19,7 +20,8 @@
- Modifications :
- Nouvelles images de captcha.
- Option de configuration, captcha demandé à la connexion.
- Module User : importation d'un liste d'utilisateur dans un fichier plat (CSV).
- Méthode d'encodage UTF8.
## version 10.3.01
- Corrections :

View File

@ -367,7 +367,6 @@ class user extends common {
// Check la captcha
if(
$this->getData(['config','connect','captcha'])
//$this->getInput('userLoginCaptcha', helper::FILTER_INT) !== $this->getInput('userLoginCaptchaFirstNumber', helper::FILTER_INT) + $this->getInput('userLoginCaptchaSecondNumber', helper::FILTER_INT))
AND password_verify($this->getInput('userLoginCaptcha', helper::FILTER_INT), $this->getInput('userLoginCaptchaResult') ) === false )
{
self::$inputNotices['userLoginCaptcha'] = 'Incorrect';
@ -445,6 +444,7 @@ class user extends common {
$this->addOutput([
'notification' => 'Connexion réussie',
'redirect' => helper::baseUrl(),
//'redirect' => helper::baseUrl() . str_replace('_', '/', str_replace('__', '#', $this->getUrl(2))),
'state' => true
]);
}