#554: "Last Login" does not update
-----------------------+----------------------------
Reporter: rjollos | Owner: rjollos
Type: defect | Status: accepted
Priority: critical | Milestone: Release 6
Component: plugins | Version: 0.5.3
Resolution: | Keywords: AccountManager
-----------------------+----------------------------
Comment (by astaric):
This is my test trac environment:
{{{
$ pip freeze
Genshi==0.7
Trac==1.0.1
TracAccountManager==0.4.3
wsgiref==0.1.2
}}}
{{{
trac.ini (what I added):
[components]
acct_mgr.admin.* = enabled
acct_mgr.api.accountmanager = enabled
acct_mgr.guard.accountguard = enabled
acct_mgr.htfile.htdigeststore = enabled
acct_mgr.web_ui.accountmodule = enabled
acct_mgr.web_ui.loginmodule = enabled
trac.web.auth.loginmodule = disabled
[account-manager]
account_changes_notify_addresses =
authentication_url =
db_htdigest_realm =
force_passwd_change = true
hash_method = HtDigestHashMethod
htdigest_file =
/Users/anze/dev/bloodhound/installer/bloodhound/environments/main/bloodhound.htdigest
htdigest_realm = bloodhound
htpasswd_file =
htpasswd_hash_type = crypt
password_store = HtDigestStore
persistent_sessions = False
refresh_passwd = False
user_lock_max_time = 86400
verify_email = True
}}}
If I manually reset last_visit to 0 and login, the last visit time does
not update. If I delete the record for my username, it gets created with
correct visit_time.
I am curious why it works in your setup :)
--
Ticket URL: <https://issues.apache.org/bloodhound/ticket/554#comment:12>
Apache Bloodhound <https://issues.apache.org/bloodhound/>
The Apache Bloodhound issue tracker