MantisBT - ATutor
View Issue Details
0004017ATutor- no cat -public2009-11-16 12:022009-12-01 08:40
IndieRect 
cindy 
normalminoralways
closedfixed 
1.6.3 
1.6.4 
SVN
0004017: User login time is not recorded upon registration
When a user registers and sending the e-mail confirmation is turned off, he/she is immediately logged in. But last_login field is not updated in AT_members table.

Suggestion:
Copy the corresponding SQL query from login.php (lines 144 and 145 as of HEAD).
No tags attached.
parent of 0004799closed harris Auto registration email confirmation link fails on the first time, the "m" parameter is wrong 
Issue History
2009-11-16 12:02IndieRectNew Issue
2009-11-16 12:02IndieRectAffects version => SVN
2009-11-30 04:00gregStatusnew => assigned
2009-11-30 04:00gregAssigned To => cindy
2009-11-30 11:21cindyStatusassigned => resolved
2009-11-30 11:21cindyFixed in Version => 1.6.4
2009-11-30 11:21cindyResolutionopen => fixed
2009-11-30 11:21cindyNote Added: 0003927
2009-11-30 11:38IndieRectStatusresolved => feedback
2009-11-30 11:38IndieRectResolutionfixed => reopened
2009-11-30 11:38IndieRectNote Added: 0003928
2009-12-01 04:32cindyStatusfeedback => resolved
2009-12-01 04:32cindyResolutionreopened => fixed
2009-12-01 04:32cindyNote Added: 0003929
2009-12-01 08:40gregStatusresolved => closed
2011-07-20 10:55harrisRelationship addedparent of 0004799

Notes
(0003927)
cindy   
2009-11-30 11:21   
SVN revision: 8982

Solution: update last_login at auto login in registration page

Affected script: registration.php
(0003928)
IndieRect   
2009-11-30 11:38   
Would overwrite the account creation date. The SQL query should also contain "creation_date=creation_date".
I did suggest to better clone the code. :)
(0003929)
cindy   
2009-12-01 04:32   
Thanks for the report, Indie.

SVN revision: 8984

Solution: update creation_date too

Affected script: registration.php