From c94879ea430b24bafdf7c85e7706b0d65804b67f Mon Sep 17 00:00:00 2001 From: David Taylor Date: Thu, 29 Jul 2021 10:55:45 +0100 Subject: [PATCH] DEV: Remove incorrect method descriptions These do not accurately describe the methods. They were likely copy/pasted from another controller. --- app/controllers/users/associate_accounts_controller.rb | 4 ---- 1 file changed, 4 deletions(-) diff --git a/app/controllers/users/associate_accounts_controller.rb b/app/controllers/users/associate_accounts_controller.rb index c3015aa0a28..67a39ac3c25 100644 --- a/app/controllers/users/associate_accounts_controller.rb +++ b/app/controllers/users/associate_accounts_controller.rb @@ -3,8 +3,6 @@ class Users::AssociateAccountsController < ApplicationController REDIS_PREFIX ||= "omniauth_reconnect" - ## - # Presents a confirmation screen to the user. Accessed via GET, with no CSRF checks def connect_info auth = get_auth_hash @@ -17,8 +15,6 @@ class Users::AssociateAccountsController < ApplicationController render json: { token: params[:token], provider_name: provider_name, account_description: account_description } end - ## - # Presents a confirmation screen to the user. Accessed via GET, with no CSRF checks def connect auth = get_auth_hash Discourse.redis.del "#{REDIS_PREFIX}_#{current_user&.id}_#{params[:token]}"