Skip to content

Commit 364a547

Browse files
committed
fix: Update lastLoginAt saving method to override security checks
1 parent ace853f commit 364a547

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

  • lib/ontologies_linked_data/models/users

lib/ontologies_linked_data/models/users/user.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -84,7 +84,7 @@ def initialize(attributes = {})
8484

8585
def update_last_login
8686
self.lastLoginAt = DateTime.now
87-
self.save
87+
self.save(override_security: true)
8888
end
8989

9090
def save(*args)

0 commit comments

Comments
 (0)