Modify

Opened 6 years ago

Closed 6 years ago

Last modified 6 years ago

#13385 closed defect (invalid)

cant't login via a HTML form instead of using HTTP authentication. when i use accountManagerPlugin

Reported by: 243390887@… Owned by: Ryan J Ollos
Priority: highest Component: AccountManagerPlugin
Severity: major Keywords:
Cc: Trac Release: 1.2

Description (last modified by Ryan J Ollos)

trac version 1.2.2 I don't enabled authentication for Trac on Apache server before. now ,I want to add accountManagetPlugin.the plugin version is TracAccountManager 0.5.dev0.

this is my config in trac.ini:

[components]
acct_mgr.admin.* = enabled
acct_mgr.api.* = enabled
acct_mgr.db.sessionstore = disabled
acct_mgr.htfile.htdigeststore = disabled
acct_mgr.htfile.htpasswdstore = enabled
acct_mgr.http.* = disabled
acct_mgr.notification.* = enabled
acct_mgr.pwhash.* = disabled
acct_mgr.register.* = enabled
acct_mgr.svnserve.svnservepasswordstore = disabled
acct_mgr.web_ui.* = enabled
acct_mgr.web_ui.resetpwstore = disabled
trac.web.auth.loginmodule = disabled

[account-manager]
password_store = HtPasswdStore
htpasswd_hash_type = md5
htpasswd_file = /root/trac/myproject/conf/.trac-passwd
reset_password = false

when I login trac,it's also authentication use HTTP?

Attachments (2)

1519914861(1).png (26.2 KB) - added by 243390887@… 6 years ago.
1519914436(1).png (28.7 KB) - added by 243390887@… 6 years ago.

Download all attachments as: .zip

Change History (5)

Changed 6 years ago by 243390887@…

Attachment: 1519914861(1).png added

Changed 6 years ago by 243390887@…

Attachment: 1519914436(1).png added

comment:1 Changed 6 years ago by anonymous

Priority: normalhighest
Severity: normalmajor

comment:2 Changed 6 years ago by Ryan J Ollos

Description: modified (diff)
Resolution: invalid
Status: newclosed

In the future please direct support requests to the MailingList.

comment:3 Changed 6 years ago by Ryan J Ollos

Do you have Apache configured to handle authentication? If so, you need to remove it. For example, remove a section that looks like (TracModWSGI#ConfiguringAuthentication):

<Location "/trac/login">
  AuthType Basic
  AuthName "Trac"
  AuthUserFile /somewhere/trac.htpasswd
  Require valid-user
</Location>

Apache will intercept the login request before Trac can handle the request, so form-based login cannot be used with Apache authentication.

Modify Ticket

Change Properties
Set your email in Preferences
Action
as closed The owner will remain Ryan J Ollos.
The resolution will be deleted. Next status will be 'reopened'.

Add Comment


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

 
Note: See TracTickets for help on using tickets.