Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nextcloud/apps.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorkralizeck <er.tesnico@gmail.com>2014-11-03 12:25:11 +0300
committerkralizeck <er.tesnico@gmail.com>2014-11-03 12:25:11 +0300
commitc97ebada2ce13e33991176828f50488d182a952f (patch)
tree7434c40dd1a8ec1d4fc65730617a9dbe54cce1f8 /user_saml
parent3518b6940580c4a14618956745130ced71e7d3be (diff)
Corrected "Force SAML login?" unchecked
corrected uncheck 'saml_force_saml_login' (was not working, chek it does)
Diffstat (limited to 'user_saml')
-rw-r--r--user_saml/settings.php3
1 files changed, 3 insertions, 0 deletions
diff --git a/user_saml/settings.php b/user_saml/settings.php
index 827d23ab4..36d7cd629 100644
--- a/user_saml/settings.php
+++ b/user_saml/settings.php
@@ -35,6 +35,9 @@ if ($_POST) {
if (isset($_POST[$param])) {
OCP\Config::setAppValue('user_saml', $param, $_POST[$param]);
}
+ elseif ('saml_force_saml_login' == $param) {
+ OCP\Config::setAppValue('user_saml', $param, 0);
+ }
elseif ('saml_autocreate' == $param) {
// unchecked checkboxes are not included in the post paramters
OCP\Config::setAppValue('user_saml', $param, 0);