From 1df4bc17c70b649023b4a62ec675fbf2ad7b695e Mon Sep 17 00:00:00 2001 From: Yanick Minder Date: Tue, 20 Aug 2024 15:59:09 +0200 Subject: [PATCH] remove useless '=' --- app/views/devise/sessions/new.html.haml | 1 - 1 file changed, 1 deletion(-) diff --git a/app/views/devise/sessions/new.html.haml b/app/views/devise/sessions/new.html.haml index da0ab90b6..349aab3f7 100644 --- a/app/views/devise/sessions/new.html.haml +++ b/app/views/devise/sessions/new.html.haml @@ -2,7 +2,6 @@ = ti("devise.sign_in") - if devise_mapping.omniauthable? - resource_class.omniauth_providers.each do |provider| - = = button_to ti("sign_in_with", provider: provider.to_s.titleize), omniauth_authorize_path(resource_name, provider), {data: { turbo: false }, class: "btn btn-primary"} - else = ti("devise.no_omniauth_providers") \ No newline at end of file