From 8a50e62266d4742dd4a66001b7ad74bb0be1b9a9 Mon Sep 17 00:00:00 2001 From: Ere Maijala <ere.maijala@helsinki.fi> Date: Tue, 15 Nov 2016 16:57:12 +0200 Subject: [PATCH] Removed a locally-customized username manipulation (#857) - This was included in the master code by accident. --- module/VuFind/src/VuFind/Controller/ExternalAuthController.php | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/module/VuFind/src/VuFind/Controller/ExternalAuthController.php b/module/VuFind/src/VuFind/Controller/ExternalAuthController.php index 76f03f03466..ef712fde309 100644 --- a/module/VuFind/src/VuFind/Controller/ExternalAuthController.php +++ b/module/VuFind/src/VuFind/Controller/ExternalAuthController.php @@ -74,12 +74,11 @@ class ExternalAuthController extends AbstractBase ); return $view; } - $username = end(explode(':', $user->username, 2)); $url = $this->params()->fromPost( 'url', $this->params()->fromQuery('url') ); return $this->redirect()->toUrl( - $this->createEzproxyTicketUrl($username, $url) + $this->createEzproxyTicketUrl($user->username, $url) ); } return $this->forceLogin('external_auth_login_message'); -- GitLab