Commit fcd20dca authored by ViolanteCodes's avatar ViolanteCodes
Browse files

updated the login_view logic for an invalid form so errors would display

parent 112b218d
......@@ -305,7 +305,8 @@ def login_view(request):
return redirect('user-landing', user_identifier = user_identifier)
# if no valid post request, display the form
else:
form = LoginForm
# form = LoginForm
return render (request, 'anonticket/user_login.html', {'form': form})
return render (request, 'anonticket/user_login.html', {'form':form, 'results': results})
@validate_user
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment