From 134360da46c1f8e5153c1c9eb5180ac990150d93 Mon Sep 17 00:00:00 2001 From: Tomer Kimia Date: Tue, 4 Mar 2014 17:57:15 -0500 Subject: signin gives error if user cannot sign in --- app/views/sessions/new.html.erb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'app/views/sessions/new.html.erb') diff --git a/app/views/sessions/new.html.erb b/app/views/sessions/new.html.erb index a820b2f..550a54d 100644 --- a/app/views/sessions/new.html.erb +++ b/app/views/sessions/new.html.erb @@ -1,6 +1,6 @@

Sign in

-<% if @fail %> -

Email and password combination not found

+<% if @user.nil? %> +

The username or password is incorrect. Verify that CAPS LOCK is not on, and then retype the current username and password.

<% end %>
-- cgit v1.2.3-2-g168b