Opened 12 years ago

Closed 12 years ago

Last modified 12 years ago

#591 closed defect (fixed)

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

Reported by: rupert thurner Owned by: Matt Good
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 12 years ago by Noah Kantrowitz

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 12 years ago by Noah Kantrowitz

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 12 years ago by Noah Kantrowitz

Resolution: fixed
Status: newclosed

comment:4 Changed 12 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 12 years ago by Noah Kantrowitz

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.

Modify Ticket

Change Properties
Set your email in Preferences
as closed The owner will remain Matt Good.
The resolution will be deleted.

Add Comment

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

Note: See TracTickets for help on using tickets.