Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
home:crameleon:matomo
matomo-plugin-LoginOIDC
gh-pr-116_piwikauth.patch
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File gh-pr-116_piwikauth.patch of Package matomo-plugin-LoginOIDC
From 979ebcc2fb65932eb7487c4d5d843516a0847908 Mon Sep 17 00:00:00 2001 From: Georg Pfuetzenreuter <mail@georg-pfuetzenreuter.net> Date: Fri, 21 Jun 2024 15:15:56 +0200 Subject: [PATCH] Avoid conflict between Auth methods Resolve: ``` ERROR Piwik\FrontController Uncaught exception: Error: Call to undefined method Piwik\Plugins\Login\Auth::setForceLogin() in /srv/www/matomo/plugins/LoginOIDC/Controller.php:431 ``` It seems it loaded the methods from Piwik\Auth instead of Piwik\Plugins\LoginOIDC\OIDCAuth - which worked for getLogin() (which exists in both files), but failed at setForceLogin() (which only exists in the latter). Signed-off-by: Georg Pfuetzenreuter <mail@georg-pfuetzenreuter.net> --- Controller.php | 1 - 1 file changed, 1 deletion(-) diff --git a/Controller.php b/Controller.php index 4891524..3c0515b 100644 --- a/Controller.php +++ b/Controller.php @@ -11,7 +11,6 @@ use Exception; use Piwik\Access; -use Piwik\Auth; use Piwik\Common; use Piwik\Config; use Piwik\Container\StaticContainer;
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor