mirror of
https://0xacab.org/sutty/sutty
synced 2024-11-26 08:36:21 +00:00
Merge branch 'issue-17722' into production.panel.sutty.nl
This commit is contained in:
commit
002e897639
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||||
|
|
Loading…
Reference in a new issue