Edgewall Software
Modify

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

disable_tracd_login_hack.patch (1.6 KB) - added by ximon.eighteen@… 6 years ago.
Patch to disable TracD auth so that the AccountManager? login form works.

Download all attachments as: .zip

Change History

comment:1 Changed 6 years ago by cmlenz

  • Owner changed from jonas to cmlenz
  • Status changed from new to assigned

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

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@…

Patch to disable TracD auth so that the AccountManager? login form works.

View

Add a comment

Modify Ticket

Change Properties
<Author field>
Action
as closed
The resolution will be deleted. Next status will be 'reopened'
to The owner will be changed from cmlenz. Next status will be 'closed'
Author


E-mail address and user name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.