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

Mantis 17918 - plugins control authentication #61

Merged
merged 2 commits into from May 11, 2016

Conversation

bramley
Copy link
Contributor

@bramley bramley commented May 2, 2016

These changes fix the problem of admins being read-only on the admins page, and also (I think) simplifies the selection of the admin authentication class.

admins.php - correct the test of whether authentication is being done externally

phpListAdminAuthentication.php - change to not be a plugin, just a class.

pluginlib.php - sets $authenticationplugin only for a "real" plugin. Remove code that handles phpListAdminAuthentication as a plugin.

index.php - now $authenticationplugin is set if a plugin wants to handle authentication, otherwise fallback to the internal class. Use the already-existing instance of the plugin class instead of creating a new one.

@michield michield merged commit 4b87ac3 into phpList:master May 11, 2016
@michield
Copy link
Member

Thanks!

@bramley bramley deleted the mantis_17918 branch June 8, 2016 04:21
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.

None yet

2 participants