Set last_login on first OAuth user creation

Summary

This fixes the issue where last_login was not set when a user authenticated via OAuth for the first time.

Changes

  • Set last_login = utcnow() when creating a new OAuth user.
  • Continue to update last_login on subsequent OAuth logins.

Fixes: T431908

Merge request reports

Loading