dev_bj
p31729568 5 years ago
parent 357a6844c6
commit 3148f7e714

@ -343,7 +343,7 @@ class UsersService
g = Gitlab.client g = Gitlab.client
g.edit_user(@current_user.gid, :password => params[:new_password]) g.edit_user(@current_user.gid, :password => params[:new_password])
rescue Exception => e rescue Exception => e
logger.error "change users password failed! ===> #{e}" Rails.logger.error "change users password failed! ===> #{e.message}"
end end
end end
#raise @current_user.errors.full_message #raise @current_user.errors.full_message

Loading…
Cancel
Save