Skip to content

fix: improve wantsurl handling from loginpage list#965

Merged
keevan merged 1 commit into
MOODLE_405_STABLEfrom
wants-fix
Jun 22, 2026
Merged

fix: improve wantsurl handling from loginpage list#965
keevan merged 1 commit into
MOODLE_405_STABLEfrom
wants-fix

Conversation

@Peterburnett

Copy link
Copy Markdown
Contributor

https://github.com/catalyst/moodle-auth_saml2/blob/MOODLE_500_STABLE/classes/auth.php#L291

This line sets up the button with 'wants' as a parameter. But then login.php never checks it. This patch just improves the case so that both wantsurl and wants are handled as parameters.

@keevan keevan left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Also I think we need a version bump.

Comment thread login.php Outdated

@keevan keevan left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for making the changes, looks good. Okay to merge after CI passes

@keevan keevan merged commit 3537aa3 into MOODLE_405_STABLE Jun 22, 2026
26 of 34 checks passed
@keevan keevan deleted the wants-fix branch June 22, 2026 06:59
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