From a3617b492e67e280790442b77addbd25b896f07e Mon Sep 17 00:00:00 2001 From: Tom Hughes Date: Fri, 20 May 2022 18:23:51 +0100 Subject: [PATCH] Drop AOL and Wordpress login links Fixes #3555 --- app/assets/images/aol.svg | 1 - app/assets/images/wordpress.svg | 1 - app/views/sessions/new.html.erb | 2 -- test/helpers/user_helper_test.rb | 3 --- 4 files changed, 7 deletions(-) delete mode 100644 app/assets/images/aol.svg delete mode 100644 app/assets/images/wordpress.svg diff --git a/app/assets/images/aol.svg b/app/assets/images/aol.svg deleted file mode 100644 index 53c4dadb7..000000000 --- a/app/assets/images/aol.svg +++ /dev/null @@ -1 +0,0 @@ - \ No newline at end of file diff --git a/app/assets/images/wordpress.svg b/app/assets/images/wordpress.svg deleted file mode 100644 index d4ff7f03d..000000000 --- a/app/assets/images/wordpress.svg +++ /dev/null @@ -1 +0,0 @@ - \ No newline at end of file diff --git a/app/views/sessions/new.html.erb b/app/views/sessions/new.html.erb index 9be87b0e5..18f536206 100644 --- a/app/views/sessions/new.html.erb +++ b/app/views/sessions/new.html.erb @@ -44,8 +44,6 @@ <% if Settings.key?(:wikipedia_auth_id) -%>
  • <%= auth_button "wikipedia", "wikipedia" %>
  • <% end -%> -
  • <%= auth_button "wordpress", "openid", :openid_url => "wordpress.com" %>
  • -
  • <%= auth_button "aol", "openid", :openid_url => "aol.com" %>
  • <%= form_tag(auth_path(:provider => "openid"), :id => "openid_login_form") do %> diff --git a/test/helpers/user_helper_test.rb b/test/helpers/user_helper_test.rb index 11a47a195..f64cee319 100644 --- a/test/helpers/user_helper_test.rb +++ b/test/helpers/user_helper_test.rb @@ -117,9 +117,6 @@ class UserHelperTest < ActionView::TestCase def test_auth_button button = auth_button("google", "google") assert_equal("\"Login", button) - - button = auth_button("wordpress", "openid", :openid_url => "wordpress.com") - assert_equal("\"Login", button) end private -- 2.39.5