X-Git-Url: https://git.agnieray.net/?a=blobdiff_plain;f=galette%2Flib%2FGalette%2FControllers%2FAuthController.php;fp=galette%2Flib%2FGalette%2FControllers%2FAuthController.php;h=92850a9b72259affc7ab004e89899793c3dd9667;hb=d92a9272f1e5f0dd21b32d625badc0869edacd9b;hp=e812ea18662998d3d6713134e282657566ebb869;hpb=d12bc8ce0bfe1044a6ca98760b53ac0b4735fc25;p=galette.git diff --git a/galette/lib/Galette/Controllers/AuthController.php b/galette/lib/Galette/Controllers/AuthController.php index e812ea186..92850a9b7 100644 --- a/galette/lib/Galette/Controllers/AuthController.php +++ b/galette/lib/Galette/Controllers/AuthController.php @@ -136,6 +136,13 @@ class AuthController extends AbstractController } if ($this->login->isLogged()) { + if (defined('NON_UTF_DBCONNECT')) { + $this->flash->addMessage( + 'warning', + 'It appears you are using NON_UTF_DBCONNECT constant, it will be in next major release.' + ); + } + if (!$checkpass->isValid($password)) { //password is no longer valid with current rules, must be changed $this->flash->addMessage(