Modify ↓
#13385 closed defect (invalid)
cant't login via a HTML form instead of using HTTP authentication. when i use accountManagerPlugin
| Reported by: | Owned by: | Ryan J Ollos | |
|---|---|---|---|
| Priority: | highest | Component: | AccountManagerPlugin |
| Severity: | major | Keywords: | |
| Cc: | Trac Release: | 1.2 |
Description (last modified by )
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)
Change History (5)
Changed 8 years ago by
| Attachment: | 1519914861(1).png added |
|---|
Changed 8 years ago by
| Attachment: | 1519914436(1).png added |
|---|
comment:1 Changed 8 years ago by
| Priority: | normal → highest |
|---|---|
| Severity: | normal → major |
comment:2 Changed 8 years ago by
| Description: | modified (diff) |
|---|---|
| Resolution: | → invalid |
| Status: | new → closed |
comment:3 Changed 8 years ago by
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.
Note: See
TracTickets for help on using
tickets.



In the future please direct support requests to the MailingList.