A user's last logged in value isn't updated when the user logs in
through the oauth2 flow from the ios mobile app. Here we must send the
user_logged_in signal manually. It's implemented in the my_user_info
mobile rest api endpoint because adding it to where the oauth2 flow
happens is to complex (the platform doesn't know which user just logged in because it just delegates to the respective oauth2 libraries). It appears that the iOS app hits this endpoint once after a
successful login, so it should have the same effect.
CC @saeedbashir We would be interested to hear your opinion on this method or if you have suggestions for how better to implement this from the perspective of the iOS app login flow.
*Merge deadline*: None
1. login to the lms admin as a superuser and view the last logged in time for a normal user
2. log in to the ios mobile app as the above normal user
3. refresh the admin page and verify that the last logged in time has updated
*Author notes and concerns*:
[ ] @pomegranited
[ ] edX reviewer[s] TBD