Skip to content

Commit

Permalink
Renaming method
Browse files Browse the repository at this point in the history
  • Loading branch information
jtoliver-quoin committed Dec 5, 2024
1 parent eaad4ca commit 05b27b9
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions app/controllers/api/v2/users_controller.rb
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ def update
validate_json!(User::USER_FIELDS_SCHEMA, user_params)
@user.update_with_properties(@user_params)
@user.save!
keep_logged_in
keep_user_signed_in
end

def destroy
Expand Down Expand Up @@ -75,7 +75,7 @@ def identity_sync
@user.identity_sync(current_user)
end

def keep_logged_in
def keep_user_signed_in
bypass_sign_in(@user) if @user.saved_change_to_encrypted_password?
end
end

0 comments on commit 05b27b9

Please sign in to comment.