Index: openacs-4/packages/acs-tcl/tcl/security-procs.xql =================================================================== RCS file: /usr/local/cvsroot/openacs-4/packages/acs-tcl/tcl/security-procs.xql,v diff -u -N -r1.9 -r1.10 --- openacs-4/packages/acs-tcl/tcl/security-procs.xql 28 Jun 2015 19:05:43 -0000 1.9 +++ openacs-4/packages/acs-tcl/tcl/security-procs.xql 20 Nov 2017 15:36:44 -0000 1.10 @@ -1,6 +1,19 @@ + + + + update users + set second_to_last_visit = last_visit, + last_visit = current_timestamp, + n_sessions = n_sessions + 1 + where user_id = :user_id + + + + + @@ -59,5 +72,14 @@ + + + update users + set password = :new_password, + salt = :salt, + password_changed_date = current_timestamp + where user_id = :user_id + +