Opened 17 years ago
Closed 17 years ago
#3396 closed defect (fixed)
AccountModule breaks trac
| Reported by: | ben | Owned by: | Matt Good |
|---|---|---|---|
| Priority: | normal | Component: | AccountManagerPlugin |
| Severity: | normal | Keywords: | |
| Cc: | Trac Release: | 0.10 |
Description
When I try to enable the AccountModule component either through the admin page or directly in the ini it causes the system to then prevent me from logging in.
In Firefox I get the follwong error:
Redirect Loop Redirection limit for this URL exceeded. Unable to load the requested page. This may be caused by cookies that are blocked.
After I delete all mof my cookies I get the following message:
Error: Not Found Unknown preference panel
In IE 7 the login attempt just times out.
If I then remove the AccountModule component from the ini file then the system returns to a normal working state.
Here are the system details: Trac: 0.11rc2 Python: 2.4.4 (#71, Oct 18 2006, 08:34:43) [MSC v.1310 32 bit (Intel)] setuptools: 0.6c7 SQLite: 3.4.0 pysqlite: 2.3.3 Genshi: 0.5 jQuery: 1.2.3
I am trying to use tracaccountmanager 0.2.1dev-r3857
I am running Tracd on the company server.
I have attached my ini files and the debug log.
Attachments (2)
Change History (4)
Changed 17 years ago by
comment:1 Changed 17 years ago by
had a similar problem when updating from post-0.10/pre-0.11svn to 0.11 stable. the pw-change enforcement was enabled by default after updating accountmanagerplugin. the following clicktrail sent accounts into a redirect loop.
quick debugging in irc led to this workaround:
--- acct_mgr/web_ui.py (revision 3950)
+++ acct_mgr/web_ui.py (working copy)
@@ -186,7 +186,7 @@
if req.session.get('force_change_passwd', False):
redirect_url = req.href.prefs('account')
if req.path_info != redirect_url:
- req.redirect(redirect_url)
+ pass
return (template, data, content_type)
# INavigationContributor methods
comment:2 Changed 17 years ago by
| Resolution: | → fixed |
|---|---|
| Status: | new → closed |
That did it.
Thanks for your help.



ini file