stable
Clone or download
Read-only
Replace display_newaccount event by RegistrationGuardEvent so we can manipulate a high level event to control whether users can create accounts. Use this new event consistently in the code (was mixed up with before_register in ldap for instance). Part of request #16607 Allow ldap login when openidconnect client is used. Change-Id: Ib2a263dcc6a1142068cf22861ce92dbf07cc44f5
Modified Files
Name | ||||
---|---|---|---|---|
M | plugins/ldap/include/ldapPlugin.php | +4 | −4 | Go to diff View file |
M | plugins/openidconnectclient/include/openidconnectclientPlugin.php | +4 | −3 | Go to diff View file |
A | src/common/User/Account/RegistrationGuardEvent.php | +49 | −0 | Go to diff View file |
M | src/common/User/LoginPresenterBuilder.php | +5 | −8 | Go to diff View file |
M | src/common/layout/SiteHomepageController.php | +5 | −3 | Go to diff View file |
M | src/themes/BurningParrot/include/Navbar/PresenterBuilder.php | +4 | −8 | Go to diff View file |
M | src/www/account/register.php | +6 | −5 | Go to diff View file |
M | src/www/themes/FlamingParrot/FlamingParrot_Theme.class.php | +5 | −4 | Go to diff View file |