modif Sylvain + gitignore png dans tmp
This commit is contained in:
parent
b9bc252979
commit
62c0e29b44
1
.gitignore
vendored
1
.gitignore
vendored
@ -1,6 +1,7 @@
|
|||||||
# Fichiers temporaires
|
# Fichiers temporaires
|
||||||
site/tmp/*.zip
|
site/tmp/*.zip
|
||||||
site/tmp/*.gz
|
site/tmp/*.gz
|
||||||
|
site/tmp/*.png
|
||||||
|
|
||||||
# Sauvegardes
|
# Sauvegardes
|
||||||
site/backup/*
|
site/backup/*
|
||||||
|
@ -371,8 +371,7 @@ class user extends common {
|
|||||||
AND password_verify($this->getInput('userLoginCaptcha', helper::FILTER_INT), $this->getInput('userLoginCaptchaResult') ) === false )
|
AND password_verify($this->getInput('userLoginCaptcha', helper::FILTER_INT), $this->getInput('userLoginCaptchaResult') ) === false )
|
||||||
{
|
{
|
||||||
self::$inputNotices['userLoginCaptcha'] = 'Incorrect';
|
self::$inputNotices['userLoginCaptcha'] = 'Incorrect';
|
||||||
}
|
} else {
|
||||||
|
|
||||||
// Lire Id du compte
|
// Lire Id du compte
|
||||||
$userId = $this->getInput('userLoginId', helper::FILTER_ID, true);
|
$userId = $this->getInput('userLoginId', helper::FILTER_ID, true);
|
||||||
|
|
||||||
@ -482,6 +481,7 @@ class user extends common {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
}
|
||||||
if (!empty($_COOKIE['ZWII_USER_ID'])) {
|
if (!empty($_COOKIE['ZWII_USER_ID'])) {
|
||||||
self::$userId = $_COOKIE['ZWII_USER_ID'];
|
self::$userId = $_COOKIE['ZWII_USER_ID'];
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user