diff options
author | Bjoern Schiessle <bjoern@schiessle.org> | 2018-10-04 17:00:37 +0300 |
---|---|---|
committer | Bjoern Schiessle <bjoern@schiessle.org> | 2018-10-09 23:08:33 +0300 |
commit | 425173365eb95ec965259fd6c7412a5bc062fc00 (patch) | |
tree | 0baed742499412ae70c72a27ca42a165b0ac5871 /appinfo | |
parent | a9fbc8703e723b325493040ecf4711a6084edf39 (diff) |
adjust Nextcloud app to php-saml 3.0
Signed-off-by: Bjoern Schiessle <bjoern@schiessle.org>
Diffstat (limited to 'appinfo')
-rw-r--r-- | appinfo/app.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/appinfo/app.php b/appinfo/app.php index 136342d7..cb4ccd42 100644 --- a/appinfo/app.php +++ b/appinfo/app.php @@ -61,8 +61,8 @@ $type = ''; switch($config->getAppValue('user_saml', 'type')) { case 'saml': try { - $oneLoginSettings = new \OneLogin_Saml2_Settings($samlSettings->getOneLoginSettingsArray(1)); - } catch (OneLogin_Saml2_Error $e) { + $oneLoginSettings = new \OneLogin\Saml2\Settings($samlSettings->getOneLoginSettingsArray(1)); + } catch (\OneLogin\SAML2\Error $e) { $returnScript = true; } $type = 'saml'; |