From 9c0305d79deb6ceace19bce6a0168229010759da Mon Sep 17 00:00:00 2001 From: f Date: Thu, 31 Oct 2024 11:27:33 -0300 Subject: [PATCH] =?UTF-8?q?fixup!=20feat:=20bloquear=20spambots=20despu?= =?UTF-8?q?=C3=A9s=20de=20un=20minuto=20#17722?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app/jobs/lock_usuarie_job.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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