remove Google OpenID auth, since Google doesn't support it anymore

This commit is contained in:
Neil Lalonde
2015-05-25 15:13:44 -04:00
parent 3437513025
commit eaa1afeaf5
5 changed files with 2 additions and 26 deletions

View File

@ -27,8 +27,6 @@ class AdminDashboardData
gc_checks,
sidekiq_check,
ram_check,
old_google_config_check,
both_googles_config_check,
google_oauth2_config_check,
facebook_config_check,
twitter_config_check,
@ -103,14 +101,6 @@ class AdminDashboardData
I18n.t('dashboard.memory_warning') if MemInfo.new.mem_total and MemInfo.new.mem_total < 1_000_000
end
def old_google_config_check
I18n.t('dashboard.enable_google_logins_warning') if SiteSetting.enable_google_logins
end
def both_googles_config_check
I18n.t('dashboard.both_googles_warning') if SiteSetting.enable_google_logins && SiteSetting.enable_google_oauth2_logins
end
def google_oauth2_config_check
I18n.t('dashboard.google_oauth2_config_warning') if SiteSetting.enable_google_oauth2_logins && (SiteSetting.google_oauth2_client_id.blank? || SiteSetting.google_oauth2_client_secret.blank?)
end