Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add setting to restrict noredirect by ip #826 #831

Merged
merged 1 commit into from
Aug 20, 2024

Conversation

bwalkerl
Copy link
Contributor

Closes #826

Adds a new setting that allows admins to restrict the use of ?saml=off and ?noredirect=1 during SAML login to access the backdoor to certain IPs.

For now I've limited this functionality to when dual login is disabled as that's the only time it would be a backdoor.

Users can still technically reach the backdoor when there's errors - I thought about adding a check there as well, but it's a bit different from how I've described this feature.

@brendanheywood brendanheywood merged commit 6f468e1 into MOODLE_39_STABLE Aug 20, 2024
17 of 23 checks passed
@brendanheywood brendanheywood deleted the restrict-noredirect-ip branch August 20, 2024 06:35
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.

Not allow back door manual login unless you are on a specific set of ip subnets
2 participants