Displaying 1 result from an estimated 1 matches for "sign_in_path".
2013 Sep 26
2
Login Problem
...s == "Verified" || user_email.status == nil)
/// This part is fine... It allows to login.
else
flash[:notice] = "User Not Active"
respond_with({:errors => "User Not Active"}, :location =>
sign_in_path)
end
else
flash[:notice] = "Password doesn''t match"
respond_with({:errors => "Password doesn''t match"}, :location =>
sign_in_path)
end
else
puts "NOT AUTHORIZED"
flash[:notic...