From d4d8228cbfe92df350949028b4ffba4f00e1b976 Mon Sep 17 00:00:00 2001 From: Zachary Chai Date: Fri, 3 Mar 2017 10:45:50 -0500 Subject: [PATCH] hide login page if omniauth isn't configured --- app/views/landing/index.html.erb | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/app/views/landing/index.html.erb b/app/views/landing/index.html.erb index ae3a4825..38e90ba4 100644 --- a/app/views/landing/index.html.erb +++ b/app/views/landing/index.html.erb @@ -39,9 +39,11 @@ <% end %> -
- <%= render 'shared/signup' %> -
+ <% if omniauth_providers_configured.present? %> +
+ <%= render 'shared/signup' %> +
+ <% end %>