X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/2f66877696957886b9c75026c9133c1d5430d772..6ef11b2c9a0ecb98308206842c9dd4798eaf4e20:/app/views/application/_auth_providers.html.erb diff --git a/app/views/application/_auth_providers.html.erb b/app/views/application/_auth_providers.html.erb index 895a42eb0..3edc6edd2 100644 --- a/app/views/application/_auth_providers.html.erb +++ b/app/views/application/_auth_providers.html.erb @@ -1,8 +1,8 @@ -<% prefered_auth_button_available = @preferred_auth_provider != "openid" && Auth.providers.value?(@preferred_auth_provider) %> +<% prefered_auth_button_available = @preferred_auth_provider != "openid" && Auth.providers.include?(@preferred_auth_provider) %>