Skip to content

Add support for Moodle 3.2 - #492

Closed
jayhanjaelee wants to merge 2 commits into
catalyst:MOODLE_35_STABLEfrom
jayhanjaelee:MOODLE_32_STABLE
Closed

jayhanjaelee wants to merge 2 commits into
catalyst:MOODLE_35_STABLEfrom
jayhanjaelee:MOODLE_32_STABLE

Conversation

@jayhanjaelee

Copy link
Copy Markdown

Add patch/MOODLE_32_STABLE.diff, which backports the core changes tool_mfa needs on Moodle 3.2:

  • MDL-53978: skip plugin callbacks during install/upgrade (added in 3.3)
  • MDL-60470: new 'after_require_login' hook (added in 3.7)
  • MDL-66340: new 'after_config' hook (added in 3.8)

The patch is generated against upstream v3.2.2 and applies cleanly with git am. Document it in the README supported branches table.

jayhanjaelee and others added 2 commits November 26, 2026 11:16
Add patch/MOODLE_32_STABLE.diff, which backports the core changes
tool_mfa needs on Moodle 3.2:

- MDL-53978: skip plugin callbacks during install/upgrade (added in 3.3)
- MDL-60470: new 'after_require_login' hook (added in 3.7)
- MDL-66340: new 'after_config' hook (added in 3.8)

The patch is generated against upstream v3.2.2 and applies cleanly with
git am. Document it in the README supported branches table.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
- Lower $plugin->requires to 2016120500 for tool_mfa and all factor
  subplugins so the plugin installs on Moodle 3.2.
- Exempt /user/policy.php from MFA redirection when the core privacy
  site policy manager is unavailable (Moodle 3.2-3.4) and a site
  policy is configured, preventing a redirect loop between auth.php
  and the policy page.

The core patch in patch/MOODLE_32_STABLE.diff must also be applied.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@danmarsden

Copy link
Copy Markdown
Member

Hi there, support for Moodle 3.2 ended in 2018 - we're not going to bring back support for it here within the mfa plugin.

If security is important to you - installing MFA on a 3.2 isn't going to make that much of a difference anyway.. you need to upgrade.

@danmarsden danmarsden closed this Nov 26, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants