diff --git a/app/jobs/lock_usuarie_job.rb b/app/jobs/lock_usuarie_job.rb index 94640857..8af6ee83 100644 --- a/app/jobs/lock_usuarie_job.rb +++ b/app/jobs/lock_usuarie_job.rb @@ -12,7 +12,7 @@ class LockUsuarieJob < ApplicationJob password = SecureRandom.base36 usuarie.skip_password_change_notification! - usuarie.update(password: password, password_confirmation: password, remember_created_at: nil, locked_at: Time.utc.now) + usuarie.update(password: password, password_confirmation: password, remember_created_at: nil, locked_at: Time.now.utc) nil end