|
|
@ -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
|
|
|
|