Commit 44b81983 authored by Marin Jankovski's avatar Marin Jankovski
Browse files

Do not set password expiry.

parent 56398ea1
......@@ -39,7 +39,7 @@ def unblock
def create
opts = {
force_random_password: true,
password_expires_at: Time.now
password_expires_at: nil
}
@user = User.new(user_params.merge(opts))
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment