From 213b7d19d9ad42f0df7a47e5e782137f612446b7 Mon Sep 17 00:00:00 2001 From: David Taylor Date: Tue, 13 Aug 2019 01:22:02 +0100 Subject: [PATCH] UX: Fallback to unlocalized auth provider name if required --- app/views/users/omniauth_callbacks/confirm_request.html.erb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/views/users/omniauth_callbacks/confirm_request.html.erb b/app/views/users/omniauth_callbacks/confirm_request.html.erb index 6abfe3cf0fb..a25158dbb3f 100644 --- a/app/views/users/omniauth_callbacks/confirm_request.html.erb +++ b/app/views/users/omniauth_callbacks/confirm_request.html.erb @@ -1,5 +1,5 @@
-

<%= t('login.omniauth_confirm_title', provider:(t "js.login.#{params[:provider]}.name")) %>

+

<%= t('login.omniauth_confirm_title', provider:(t "js.login.#{params[:provider]}.name", default: params[:provider])) %>


<%= form_tag do %>