@ -46,6 +46,7 @@ class UsersController < ApplicationController
end
def update
@user.skip_reconfirmation!
if @user.update(user_params)
if @user == current_user
bypass_sign_in @user
@ -69,16 +69,4 @@ private
personalisation(record, token, url, username:),
)
# def unlock_instructions(record, token, opts = {})
# super
# end
#
# def email_changed(record, opts = {})
# def password_change(record, opts = {})