diff --git a/osf/models/user.py b/osf/models/user.py index 6fcfbb6e159..e3404c1f9cf 100644 --- a/osf/models/user.py +++ b/osf/models/user.py @@ -154,7 +154,7 @@ class OSFUser(DirtyFieldsMixin, GuidMixin, BaseModel, AbstractBaseUser, Permissi # Overrides DirtyFieldsMixin, Foreign Keys checked by '_id' rather than typical name. FIELDS_TO_CHECK = SEARCH_UPDATE_FIELDS.copy() - FIELDS_TO_CHECK.update({'password', 'last_login', 'merged_by_id', 'username'}) + FIELDS_TO_CHECK.update({'password', 'date_last_login', 'merged_by_id', 'username'}) # TODO: Add SEARCH_UPDATE_NODE_FIELDS, for fields that should trigger a # search update for all nodes to which the user is a contributor.