From: <ru...@us...> - 2011-11-07 16:50:51
|
Revision: 8180 http://phpwiki.svn.sourceforge.net/phpwiki/?rev=8180&view=rev Author: rurban Date: 2011-11-07 16:50:45 +0000 (Mon, 07 Nov 2011) Log Message: ----------- make first-only the default. be conservative, as the tricky recursion may fail Modified Paths: -------------- trunk/config/config-default.ini trunk/config/config-dist.ini Modified: trunk/config/config-default.ini =================================================================== --- trunk/config/config-default.ini 2011-11-04 10:38:38 UTC (rev 8179) +++ trunk/config/config-default.ini 2011-11-07 16:50:45 UTC (rev 8180) @@ -94,7 +94,7 @@ ALLOW_USER_PASSWORDS = true USER_AUTH_ORDER = PersonalPage PASSWORD_LENGTH_MINIMUM = 0 -USER_AUTH_POLICY = stacked +USER_AUTH_POLICY = first-only ENABLE_AUTH_OPENID = false ;LDAP_AUTH_HOST = "ldap://localhost:389" ;LDAP_BASE_DN = "ou=Users,o=Development,dc=mycompany.com" Modified: trunk/config/config-dist.ini =================================================================== --- trunk/config/config-dist.ini 2011-11-04 10:38:38 UTC (rev 8179) +++ trunk/config/config-dist.ini 2011-11-07 16:50:45 UTC (rev 8180) @@ -659,10 +659,12 @@ ; methods as in the previous PhpWiki releases (slow) ; strict: check if the user exists for all methods: ; on the first existing user, try the password. -; dont try the other methods on failure then +; dont try the other methods on failure then. +; Note: May result in crashes on endless recursion ; stacked: check the given user - password combination for all ; methods and return true on the first success. -USER_AUTH_POLICY = stacked +; Note: May result in crashes on endless recursion +USER_AUTH_POLICY = first-only ; Enable the new extended method of handling WikiUsers to support external auth and PAGEPERM. ; Servers with memory-limit problems might want to turn it off. It costs ~300KB This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |