]> git.agnieray.net Git - galette.git/commitdiff
lower is done in addPersonalInformation
authorJohan Cwiklinski <johan@x-tnd.be>
Wed, 3 Nov 2021 06:35:01 +0000 (07:35 +0100)
committerJohan Cwiklinski <johan@x-tnd.be>
Sun, 7 Nov 2021 05:50:39 +0000 (06:50 +0100)
galette/lib/Galette/Util/Password.php

index 16e95cfa63e196dd8ff6f1d3b40973b2ac3c79c4..4069b46b151bdc796c0bbf206e6e0c210756e2f5 100644 (file)
@@ -7,7 +7,7 @@
  *
  * PHP version 5
  *
- * Copyright © 2020 The Galette Team
+ * Copyright © 2020-2021 The Galette Team
  *
  * This file is part of Galette (http://galette.tuxfamily.org).
  *
@@ -28,7 +28,7 @@
  * @package   Galette
  *
  * @author    Johan Cwiklinski <johan@x-tnd.be>
- * @copyright 2020 The Galette Team
+ * @copyright 2020-2021 The Galette Team
  * @license   http://www.gnu.org/licenses/gpl-3.0.html GPL License 3.0 or (at your option) any later version
  * @link      http://galette.tuxfamily.org
  * @since     Available since 0.9.4
@@ -47,11 +47,11 @@ use Galette\Entity\Adherent;
  * @name      Password
  * @package   Galette
  * @author    Johan Cwiklinski <johan@x-tnd.be>
- * @copyright 2017 The Galette Team
+ * @copyright 2020-2021 The Galette Team
  * @license   http://www.gnu.org/licenses/gpl-3.0.html GPL License 3.0 or (at your option) any later version
  * @link      http://galette.tuxfamily.org
  * @see       https://github.com/rollerworks/PasswordStrengthValidator
- * @since     Available since 0.9dev - 2017-09-22
+ * @since     Available since 0.9.4
  */
 class Password
 {
@@ -292,9 +292,6 @@ class Password
             }
         }
 
-        foreach ($infos as &$info) {
-            $info = mb_strtolower($info);
-        }
         $this->addPersonalInformation($infos);
 
         return $this;