forked from External/greenlight
GRN2-155: Begin preparing for removal of Twitter accounts (#615)
* Add twitter deprecation message * Fix rspec test * Extract room switch to its own method * update method name
This commit is contained in:
committed by
Jesus Federico
parent
a3158b5872
commit
40b05b1626
@ -33,7 +33,11 @@ module ApplicationHelper
|
||||
|
||||
# Determines which providers can show a login button in the login modal.
|
||||
def iconset_providers
|
||||
configured_providers & [:google, :twitter, :microsoft_office365]
|
||||
providers = configured_providers & [:google, :twitter, :microsoft_office365]
|
||||
|
||||
providers.delete(:twitter) if session[:old_twitter_user_id]
|
||||
|
||||
providers
|
||||
end
|
||||
|
||||
# Generates the login URL for a specific provider.
|
||||
|
Reference in New Issue
Block a user