Cysion / Secproject1

8hp säkerhetsprojekt för EY
GNU General Public License v3.0
1 stars 0 forks source link

Entering wrong email address throws an error #2

Closed kevinen98 closed 4 years ago

kevinen98 commented 4 years ago

Error: Index out of range.

File "twelvesteps/login/views.py", line 116, in LoginView user = User.objects.filter(Email=request.POST['email'])[0]

kevinen98 commented 4 years ago

Fixed!