Merge pull request 'Remove unused parameter in saml addon' (#1572) from MrPetovan/friendica-addons:bug/Art4-1366 into develop

Reviewed-on: friendica/friendica-addons#1572
This commit is contained in:
heluecht 2024-11-24 10:17:44 +01:00
commit 58180bd732

View file

@ -161,7 +161,7 @@ function saml_sso_reply()
} }
if (!empty($user['uid'])) { if (!empty($user['uid'])) {
DI::auth()->setForUser(DI::app(), $user); DI::auth()->setForUser($user);
} }
if (isset($_POST['RelayState']) && Utils::getSelfURL() != $_POST['RelayState']) { if (isset($_POST['RelayState']) && Utils::getSelfURL() != $_POST['RelayState']) {