DEV: Remove incorrect method descriptions
These do not accurately describe the methods. They were likely copy/pasted from another controller.
This commit is contained in:
parent
c51c80466c
commit
c94879ea43
|
@ -3,8 +3,6 @@
|
||||||
class Users::AssociateAccountsController < ApplicationController
|
class Users::AssociateAccountsController < ApplicationController
|
||||||
REDIS_PREFIX ||= "omniauth_reconnect"
|
REDIS_PREFIX ||= "omniauth_reconnect"
|
||||||
|
|
||||||
##
|
|
||||||
# Presents a confirmation screen to the user. Accessed via GET, with no CSRF checks
|
|
||||||
def connect_info
|
def connect_info
|
||||||
auth = get_auth_hash
|
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 }
|
render json: { token: params[:token], provider_name: provider_name, account_description: account_description }
|
||||||
end
|
end
|
||||||
|
|
||||||
##
|
|
||||||
# Presents a confirmation screen to the user. Accessed via GET, with no CSRF checks
|
|
||||||
def connect
|
def connect
|
||||||
auth = get_auth_hash
|
auth = get_auth_hash
|
||||||
Discourse.redis.del "#{REDIS_PREFIX}_#{current_user&.id}_#{params[:token]}"
|
Discourse.redis.del "#{REDIS_PREFIX}_#{current_user&.id}_#{params[:token]}"
|
||||||
|
|
Loading…
Reference in New Issue