wiki:AccountManagerPlugin

Version 16 (modified by mgood, 8 years ago) (diff)

provide installation instructions for easy_installing from SVN

Account Manager Plugin

Description

Trac plugin to enable users to register new accounts or manage their existing account.

Bugs/Feature Requests

Existing bugs and feature requests for AccountManagerPlugin are here.

If you have any issues, create a new ticket.

Install

First make sure you've installed setuptools.

Then you can install the plugin using the easy_install application.

Note: Windows users will need to add easy_install to their PATH.

For Trac 0.9:

easy_install http://trac-hacks.org/svn/accountmanagerplugin/0.9

For Trac 0.10:

easy_install http://trac-hacks.org/svn/accountmanagerplugin/trunk

Source

Browse the source

Subversion Checkout:

svn co http://trac-hacks.org/svn/accountmanagerplugin/0.9

Example

Requires setup in trac.ini Note the passwd/digest file should be inside your Trac environment and writable by your apache user.

For htpasswd:

[account-manager]
password_format = htpasswd
password_file = /var/trac/trac.htpasswd

For htdigest:

[account-manager]
password_format = htdigest
password_file = /var/trac/trac.htdigest
htdigest_realm = TracRealm

Form-based Login

The plugin supports allowing users to login via a form instead of HTTP authentication. You will need to turn off the default Trac login handler and enable the handler from the AccountManagerPlugin in your trac.ini file:

[components]
trac.web.auth.LoginModule = disabled
acct_mgr.web_ui.LoginModule = enabled

Moving from basic authentication

If you are already using Trac basic authentication, you might need to register each user again, althought the permissions those users were granted will be preserved. Also, remember to remove or comment out the directory entry matching "login" in your trac.conf file.

Author/Contributors

Author: mgood
Contributors:

TagIt(plugin,mgood,alpha,0.9)?

Attachments (9)

Download all attachments as: .zip