Skip to content
Snippets Groups Projects
Commit 8a50e622 authored by Ere Maijala's avatar Ere Maijala Committed by Demian Katz
Browse files

Removed a locally-customized username manipulation (#857)

- This was included in the master code by accident.
parent 794d3824
Branches
Tags
No related merge requests found
...@@ -74,12 +74,11 @@ class ExternalAuthController extends AbstractBase ...@@ -74,12 +74,11 @@ class ExternalAuthController extends AbstractBase
); );
return $view; return $view;
} }
$username = end(explode(':', $user->username, 2));
$url = $this->params()->fromPost( $url = $this->params()->fromPost(
'url', $this->params()->fromQuery('url') 'url', $this->params()->fromQuery('url')
); );
return $this->redirect()->toUrl( return $this->redirect()->toUrl(
$this->createEzproxyTicketUrl($username, $url) $this->createEzproxyTicketUrl($user->username, $url)
); );
} }
return $this->forceLogin('external_auth_login_message'); return $this->forceLogin('external_auth_login_message');
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment