[Fusionforge-commits] r13030 - in trunk/src: common/include plugins/authopenid/include

Roland Mas lolando at fusionforge.org
Wed Apr 6 11:01:49 CEST 2011


Author: lolando
Date: 2011-04-06 11:01:49 +0200 (Wed, 06 Apr 2011)
New Revision: 13030

Modified:
   trunk/src/common/include/AuthPlugin.class.php
   trunk/src/plugins/authopenid/include/AuthOpenIDPlugin.class.php
Log:
Set auth* plugins to be neither sufficient nor required by default (this should come from an explicit configuration)

Modified: trunk/src/common/include/AuthPlugin.class.php
===================================================================
--- trunk/src/common/include/AuthPlugin.class.php	2011-04-06 08:12:39 UTC (rev 13029)
+++ trunk/src/common/include/AuthPlugin.class.php	2011-04-06 09:01:49 UTC (rev 13030)
@@ -282,10 +282,10 @@
 	 * TODO: Enter description here ...
 	 */
 	protected function declareConfigVars() {
-		forge_define_config_item ('required', $this->name, 'yes');
+		forge_define_config_item ('required', $this->name, 'no');
 		forge_set_config_item_bool ('required', $this->name) ;
 
-		forge_define_config_item ('sufficient', $this->name, 'yes');
+		forge_define_config_item ('sufficient', $this->name, 'no');
 		forge_set_config_item_bool ('sufficient', $this->name) ;
 
 		forge_define_config_item ('sync_data_on', $this->name, 'never');

Modified: trunk/src/plugins/authopenid/include/AuthOpenIDPlugin.class.php
===================================================================
--- trunk/src/plugins/authopenid/include/AuthOpenIDPlugin.class.php	2011-04-06 08:12:39 UTC (rev 13029)
+++ trunk/src/plugins/authopenid/include/AuthOpenIDPlugin.class.php	2011-04-06 09:01:49 UTC (rev 13030)
@@ -161,13 +161,12 @@
 		parent::declareConfigVars();
 		
 		// Change vs default 
-		forge_define_config_item ('required', $this->name, 'yes');
+		forge_define_config_item ('required', $this->name, 'no');
 		forge_set_config_item_bool ('required', $this->name) ;
 
 		// Change vs default
-		forge_define_config_item ('sufficient', $this->name, 'yes');
+		forge_define_config_item ('sufficient', $this->name, 'no');
 		forge_set_config_item_bool ('sufficient', $this->name) ;
-	
 	}
 	
 	/**




More information about the Fusionforge-commits mailing list