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