Overview
Comment: | Fix: passage de paramètre de retour au plugin |
---|---|
Downloads: | Tarball | ZIP archive | SQL archive |
Timelines: | family | ancestors | descendants | both | trunk | stable |
Files: | files | file ages | folders |
SHA1: |
449f2f6f3ec2540c1cb41762205c5f72 |
User & Date: | bohwaz on 2019-12-17 11:01:34 |
Other Links: | manifest | tags |
Context
2019-12-24
| ||
00:12 | Message d'erreur pour les hébergeurs mal configurés check-in: aea525fa9a user: bohwaz tags: trunk | |
2019-12-17
| ||
16:02 | Merge avec trunk check-in: 12a00549c1 user: bohwaz tags: dev | |
11:01 | Fix: passage de paramètre de retour au plugin check-in: 449f2f6f3e user: bohwaz tags: trunk, stable | |
11:00 | Passage de paramètre au plugin par référence check-in: eafc1ab87c user: bohwaz tags: trunk | |
Changes
Modified src/include/lib/Garradin/Membres/Session.php from [8e789dd577] to [fa679095c9].
︙ | ︙ | |||
42 43 44 45 46 47 48 | } } public function isPasswordCompromised($password) { // Vérifier s'il n'y a pas un plugin qui gère déjà cet aspect // notamment en installation mutualisée c'est plus efficace | < | | | 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 | } } public function isPasswordCompromised($password) { // Vérifier s'il n'y a pas un plugin qui gère déjà cet aspect // notamment en installation mutualisée c'est plus efficace $return = ['is_compromised' => null]; $called = Plugin::fireSignal('motdepasse.compromis', ['password' => $password], $return); if ($called !== null) { return $return['is_compromised']; } return parent::isPasswordCompromised($password); } // Extension des méthodes de UserSession public function __construct() |
︙ | ︙ |