Mercurial > moin > 1.9
changeset 4042:0f1886933f80
autocreate=<boolean> parameter - update sample configs
author | Thomas Waldmann <tw AT waldmann-edv DOT de> |
---|---|
date | Sat, 30 Aug 2008 22:56:01 +0200 |
parents | 4a994a297ba3 |
children | 6f6eed3818ed |
files | wiki/config/more_samples/http_auth_wikiconfig_snippet wiki/config/more_samples/ldap_wikiconfig_snippet wiki/config/more_samples/user_wikiconfig_snippet |
diffstat | 3 files changed, 3 insertions(+), 7 deletions(-) [+] |
line wrap: on
line diff
--- a/wiki/config/more_samples/http_auth_wikiconfig_snippet Sat Aug 30 22:39:52 2008 +0200 +++ b/wiki/config/more_samples/http_auth_wikiconfig_snippet Sat Aug 30 22:56:01 2008 +0200 @@ -2,11 +2,9 @@ # See HelpOnSessions, HelpOnAuthentication and HelpOnConfiguration for more infos. # authentication methods used (default shown, see also other snippets): + # if autocreate is True user profiles are created automatically #from MoinMoin.auth.http import HTTPAuth - #auth = [HTTPAuth()] - - # If set to True user accounts are created automatically - #user_autocreate = True + #auth = [HTTPAuth(autocreate=True)] # a list of form field names to be disabled in the UserPreferences. #user_form_disable = ['name', ]
--- a/wiki/config/more_samples/ldap_wikiconfig_snippet Sat Aug 30 22:39:52 2008 +0200 +++ b/wiki/config/more_samples/ldap_wikiconfig_snippet Sat Aug 30 22:56:01 2008 +0200 @@ -46,13 +46,13 @@ tls_keyfile='', tls_require_cert=0, # 0 == ldap.OPT_X_TLS_NEVER (needed for self-signed certs) bind_once=False, # set to True to only do one bind - useful if configured to bind as the user on the first attempt + autocreate=True, # set to True to automatically create/update user profiles ) auth = [ldap_authenticator1, ] # this is a list, you may have multiple ldap authenticators # as well as other authenticators cookie_lifetime = 1 # 1 hour after last access ldap login is required again - user_autocreate = True # customize user preferences (optional, see MoinMoin/config/multiconfig for internal defaults) # you maybe want to use user_checkbox_remove, user_checkbox_defaults, user_form_defaults,
--- a/wiki/config/more_samples/user_wikiconfig_snippet Sat Aug 30 22:39:52 2008 +0200 +++ b/wiki/config/more_samples/user_wikiconfig_snippet Sat Aug 30 22:56:01 2008 +0200 @@ -3,8 +3,6 @@ #userprefs_disabled = [] # allow disabling certain userpreferences plugins - #user_autocreate = False # auto-create user profiles? needs support in auth method! - #user_homewiki = 'Self' # interwiki name for where user homepages are located #password_checker = None