Modify ↓
#2747 closed defect (invalid)
register option does not work with 3111 trunk
Reported by: | jtgalyon@gmail.com | Owned by: | Matt Good |
---|---|---|---|
Priority: | normal | Component: | AccountManagerPlugin |
Severity: | normal | Keywords: | |
Cc: | Moskow | Trac Release: | 0.11 |
Description
Here is my setup in trac.ini:
[components] trac.web.auth.LoginModule = disabled acct_mgr.web_ui.LoginModule = enabled acct_mgr.web_ui.RegistrationModule = enabled acct_mgr.htfile.HtPasswdStore = enabled password_store = HtPasswdStore password_file = /var/scm/trac/.htpasswd
However, the 'register' nav link does not show up.
Attachments (0)
Change History (6)
comment:1 Changed 17 years ago by
comment:2 Changed 17 years ago by
A few suggestions:
- make sure you've restarted your web server since enabling the plugin
- check the "Plugins" section of the "Admin" tab to make sure that the plugin has loaded
- check the logs for errors loading the plugin
comment:3 Changed 17 years ago by
Here is some interesting info from the log:
2008-03-16 13:27:05,640 Trac[env] WARNING: base_url option not set in configuration, generated links may be incorrect 2008-03-16 13:27:05,640 Trac[main] DEBUG: Dispatching <Request "GET u''"> 2008-03-16 13:27:05,654 Trac[web_ui] WARNING: AccountModule is disabled because the password store does not support writing. 2008-03-16 13:27:05,655 Trac[web_ui] WARNING: RegistrationModule is disabled because the password store does not support writing.
here are permissions of the referenced .htpasswd file
-rw-r--r-- 1 www-data www-data 0 2008-03-16 09:57 .htpasswd
What I am curious about now is that first log entry about the base_url option. I am using mod_wsgi and wonder if that matters. I can supply configs if necessary.
comment:4 Changed 17 years ago by
Resolution: | → invalid |
---|---|
Status: | new → closed |
Oh, you have the password_store
and password_file
options under the [components]
section. They should be under [account-manager]
.
comment:6 Changed 15 years ago by
Cc: | Moskow added; anonymous removed |
---|
Note: See
TracTickets for help on using
tickets.
I forgot to add, the revision of Trac I am using is 6632