Modify

Opened 9 years ago

Closed 9 years ago

Last modified 7 years ago

#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 9 years ago by jtgalyon@gmail.com

I forgot to add, the revision of Trac I am using is 6632

comment:2 Changed 9 years ago by Matt Good

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 9 years ago by jtgalyon@gmail.com

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 9 years ago by Matt Good

Resolution: invalid
Status: newclosed

Oh, you have the password_store and password_file options under the [components] section. They should be under [account-manager].

comment:5 Changed 9 years ago by jtgalyon@gmail.com

*slap forehead* Doh!

Yes that was it.

Thank you, Matt.

comment:6 Changed 7 years ago by moskovskie shalavy

Cc: Moskow added; anonymous removed

Modify Ticket

Change Properties
Set your email in Preferences
Action
as closed The owner will remain Matt Good.
The resolution will be deleted. Next status will be 'reopened'.

Add Comment


E-mail address and name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.