wiki:AccountManagerPlugin

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

--

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:

Install the trac:WebAdmin plugin.

Then install this plugin:

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

The AccountManagerPlugin settings are configured in the trac.ini file.

The plugin includes support for the two password file formats used by Apache.

Note: the webserver needs permission to write to both the password file and the directory where it's located.

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

Author/Contributors

Author: mgood
Contributors:

TagIt(plugin,mgood,alpha,0.9)?

Attachments (9)

Download all attachments as: .zip