mirror of
https://github.com/netzbegruenung/user_saml.git
synced 2024-05-14 14:46:06 +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
|
// redirected to the SAML login endpoint
|
||||||
if (!$cli &&
|
if (!$cli &&
|
||||||
!$userSession->isLoggedIn() &&
|
!$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 !== '') {
|
$type !== '') {
|
||||||
try {
|
try {
|
||||||
$params = $request->getParams();
|
$params = $request->getParams();
|
||||||
|
|
Loading…
Reference in a new issue