Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Hitting Login with empty form returns Internal Server Error #854

Open
danvk opened this issue Oct 16, 2015 · 0 comments
Open

Hitting Login with empty form returns Internal Server Error #854

danvk opened this issue Oct 16, 2015 · 0 comments
Labels

Comments

@danvk
Copy link
Contributor

danvk commented Oct 16, 2015

Go to the Login page.
Hit the "Login" button with an empty form.

You'll get an Internal Server error, with this trace:

  File "/Users/danvk/github/cycledash/cycledash/auth.py", line 33, in login
    user = check_login(data['username'], data['password'])
UnboundLocalError: local variable 'data' referenced before assignment
@danvk danvk added the bug label Oct 16, 2015
@danvk danvk changed the title Hitting Login with empty for returns Internal Server Error Hitting Login with empty form returns Internal Server Error Oct 16, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant