5
0
Fork 0
mirror of https://0xacab.org/sutty/sutty synced 2024-11-26 00:06:21 +00:00

fixup! feat: bloquear spambots después de un minuto #17722

This commit is contained in:
f 2024-10-31 11:27:33 -03:00
parent f00e3b8230
commit 9c0305d79d
No known key found for this signature in database

View file

@ -12,7 +12,7 @@ class LockUsuarieJob < ApplicationJob
password = SecureRandom.base36 password = SecureRandom.base36
usuarie.skip_password_change_notification! 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 nil
end end