mirror of
https://github.com/netzbegruenung/user_saml.git
synced 2024-04-28 15:24:52 +02:00
Handle mobile login flow with direct=1
Signed-off-by: Carl Schwan <carl@carlschwan.eu>
This commit is contained in:
parent
a4da53f7e7
commit
86684d6c54
|
@ -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