Opened 10 years ago

Closed 10 years ago

Last modified 10 years ago

#591 closed defect (fixed)

LoginModule does not use already logged in user information like default login module

Reported by: ThurnerRupert Owned by: mgood
Priority: normal Component: AccountManagerPlugin
Severity: normal Keywords:
Cc: Trac Release: 0.9


suppose we have two instances a, b. a user logs into instance a.

going to instance b, pressing login with the trac standard login module results in automatically logging in the user into instance b without asking username/pwd.

switching to form based login, this information is not retrieved, but a login screen is presented to the user.

it would be great if form based login would work the same way.

Attachments (0)

Change History (5)

comment:1 Changed 10 years ago by coderanger

The reason to use form-based logins is to avoid exactly that behavior. Browsers cache HTTP authentication credentials, so when you go to login the second time, it does it for you.

comment:2 Changed 10 years ago by coderanger

This is now available as part of TracForge. A sample config is:

trac.web.auth.LoginModule = disabled
tracforge.linker.auth.* = enabled

master_path = /path/to/master/env

comment:3 Changed 10 years ago by coderanger

  • Resolution set to fixed
  • Status changed from new to closed

comment:4 Changed 10 years ago by anonymous

what do you mean by "this" is available?

we changed to form based login just to have the "reset password" link.

comment:5 Changed 10 years ago by coderanger

You can use the tracforge auth-link component so that when you log in to one Trac, you are logged into all in the configured group. This is unrelated to changing passwords.

Add Comment

Modify Ticket

as closed The owner will remain mgood.
The resolution will be deleted. Next status will be 'reopened'.

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

Note: See TracTickets for help on using tickets.