mirror of
https://github.com/netzbegruenung/user_saml.git
synced 2024-05-03 09:33:46 +02:00
Merge pull request #614 from nextcloud/fix/mobile-login
Revert "Handle mobile login flow with direct=1"
This commit is contained in:
commit
d58d532a68
|
@ -116,9 +116,7 @@ if ($user !== null) {
|
|||
// redirected to the SAML login endpoint
|
||||
if (!$cli &&
|
||||
!$userSession->isLoggedIn() &&
|
||||
(\OC::$server->getRequest()->getPathInfo() === '/login'
|
||||
|| \OC::$server->getRequest()->getPathInfo() === '/login/v2/flow'
|
||||
|| \OC::$server->getRequest()->getPathInfo() === '/login/flow') &&
|
||||
\OC::$server->getRequest()->getPathInfo() === '/login' &&
|
||||
$type !== '') {
|
||||
try {
|
||||
$params = $request->getParams();
|
||||
|
|
Loading…
Reference in a new issue