[Trac] Auto-setting trac settings (email address) when creating an account

Daniel Serodio daniel.listas at xxx.com.br
Fri Jul 21 08:34:39 CDT 2006


Jason Harrison wrote:
> When I add a user to our htpasswd2 file for access to our website
> including Trac, I'd like to also configure their email address for
> ticket notification.  I'd like to avoid having to log in as them and
> set up their account via the Trac web settings page (because this
> means I have to log out, close my browser, start my browser, log in as
> them, etc).
>
> Is this data stored in the trac database?  Or in a different file?
Yes, this data is stored in the Trac database. I've put together a
(Python) script for creating Trac users that automatically configures
their e-mail address as username at mydomain; if you're interested, I can
post it. The script uses htdigest instead of htpasswd2, but it should be
fairly easy to change it.

HTH,
Daniel Serodio


More information about the Trac mailing list