diff --git a/src/Extension/MemberExtension.php b/src/Extension/MemberExtension.php index 4797717..a594ae7 100644 --- a/src/Extension/MemberExtension.php +++ b/src/Extension/MemberExtension.php @@ -172,7 +172,7 @@ public function providePermissions(): array /** * Clear any temporary multi-factor authentication related session keys when a member is successfully logged in. */ - public function afterMemberLoggedIn(): void + protected function onAfterMemberLoggedIn(): void { if (!Controller::has_curr()) { return; diff --git a/src/Extension/RequirementsExtension.php b/src/Extension/RequirementsExtension.php index 1096324..92e594a 100644 --- a/src/Extension/RequirementsExtension.php +++ b/src/Extension/RequirementsExtension.php @@ -16,7 +16,7 @@ class RequirementsExtension extends Extension /** * @see LeftAndMain::init() */ - public function init() + protected function onInit() { // As requirements for this module are dynamic - plugin methods apply their own requirements - we need to // include these requirements at run-time (opposed to using $extra_requirements_*)