Ticket #3036 (closed enhancement: fixed)
Opened 6 years ago
Last modified 6 years ago
add option --no-auth to make form auth to work
| Reported by: | vincent@… | Owned by: | cmlenz |
|---|---|---|---|
| Priority: | normal | Milestone: | 0.10 |
| Component: | web frontend/tracd | Version: | 0.9.4 |
| Severity: | normal | Keywords: | |
| Cc: | |||
| Release Notes: | |||
| API Changes: | |||
Description
Now it's impossible to use a form based authentication plugin such as http://trac-hacks.org/wiki/AccountManagerPlugin because tracd handle /login request.
May be we can add an option to tracd ("--no-auth"?) to let a plugin doing the auth.
Attachments
Change History
comment:1 Changed 6 years ago by cmlenz
- Owner changed from jonas to cmlenz
- Status changed from new to assigned
comment:2 Changed 6 years ago by cmlenz
- Resolution set to fixed
- Status changed from assigned to closed
Fixed in [3158]. Simply omit the --auth or --basic-auth option.
comment:3 Changed 6 years ago by ximon.eighteen@…
Since this isn't in the last released Trac (0.9.6) I made a quick hack to my own copy that seems to work well enough for me though hasn't really been tested. The extremely simple patch is attached for anybody who might be interested prior to 0.10 or 0.9.7.
Changed 6 years ago by ximon.eighteen@…
- Attachment disable_tracd_login_hack.patch added
Patch to disable TracD auth so that the AccountManager? login form works.



I suppose we could also only perform HTTP authentication if the auth option has been provided.