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

Declaration of auth_plugin_authshibboleth::trustExternal() must be compatible with dokuwiki\Extension\AuthPlugin::trustExternal($user, $pass, $sticky = false) #19

Open
andrea-janna opened this issue Jul 11, 2023 · 0 comments

Comments

@andrea-janna
Copy link

I'm using Dokuwiki version 2022-07-31b "Igor".

When I enable 'authshibboleth' authentication the following error is displayed in the browser instead of the wiki pages:
"dokuwiki\Exception\FatalException: Declaration of auth_plugin_authshibboleth::trustExternal() must be compatible with dokuwiki\Extension\AuthPlugin::trustExternal($user, $pass, $sticky = false)".

So I modified the file plugins/authshibboleth/auth.php replacing the line "public function trustExternal()" with "public function trustExternal($user, $pass, $sticky = false)".
I've been running the wiki for a few days since that and it seems that the issue is fixed.

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

No branches or pull requests

1 participant