hammerlab / cycledash

Variant Caller Analysis Dashboard and Data Management System
Other
35 stars 2 forks source link

Hitting Login with empty form returns Internal Server Error #854

Open danvk opened 8 years ago

danvk commented 8 years ago

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