Skip to content
Snippets Groups Projects
Commit 44b81983 authored by Marin Jankovski's avatar Marin Jankovski
Browse files

Do not set password expiry.

parent 56398ea1
No related branches found
No related tags found
No related merge requests found
Loading
Loading
@@ -39,7 +39,7 @@ class Admin::UsersController < Admin::ApplicationController
def create
opts = {
force_random_password: true,
password_expires_at: Time.now
password_expires_at: nil
}
 
@user = User.new(user_params.merge(opts))
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment