summaryrefslogtreecommitdiff
path: root/app/views/sessions/new.html.erb
diff options
context:
space:
mode:
authorTomer Kimia <tkimia@purdue.edu>2014-03-04 17:57:15 -0500
committerTomer Kimia <tkimia@purdue.edu>2014-03-04 17:57:15 -0500
commit134360da46c1f8e5153c1c9eb5180ac990150d93 (patch)
tree4709fec28870b98cc66376b527f493d119b0269d /app/views/sessions/new.html.erb
parent8e005f8d325a43e378f21a1042df6a4baf79c12f (diff)
signin gives error if user cannot sign in
Diffstat (limited to 'app/views/sessions/new.html.erb')
-rw-r--r--app/views/sessions/new.html.erb4
1 files changed, 2 insertions, 2 deletions
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 @@
<h1>Sign in</h1>
-<% if @fail %>
- <p class="error">Email and password combination not found</p>
+<% if @user.nil? %>
+ <p class="errors"> The username or password is incorrect. Verify that CAPS LOCK is not on, and then retype the current username and password. </p>
<% end %>
<div class="row">
<div class="span6 offset3">