modif Sylvain + gitignore png dans tmp

This commit is contained in:
Fred Tempez 2020-10-09 08:37:34 +02:00
parent b9bc252979
commit 62c0e29b44
2 changed files with 96 additions and 95 deletions

1
.gitignore vendored
View File

@ -1,6 +1,7 @@
# Fichiers temporaires
site/tmp/*.zip
site/tmp/*.gz
site/tmp/*.png
# Sauvegardes
site/backup/*

View File

@ -371,8 +371,7 @@ class user extends common {
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);
@ -482,6 +481,7 @@ class user extends common {
}
}
}
}
if (!empty($_COOKIE['ZWII_USER_ID'])) {
self::$userId = $_COOKIE['ZWII_USER_ID'];
}