@ -11,7 +11,7 @@ class Admins::UpdateUserService < ApplicationService
def call
user.assign_attributes(user_attributes)
user.firstname = ''
user.password = password if params[:password].present?
user.password = params[:password] if params[:password].present?
if params[:identity].to_s == 'student'
params[:technical_title] = nil