X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/fa4e0360ef6b1cb760497fbe89879cbe80128347..3fcdeba29e08a8bf3728ebc4a3e7682099381e59:/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) %>