Fixes authentication tests

This commit is contained in:
Mouse Reeve
2021-01-12 09:53:04 -08:00
parent a2d7a97dc3
commit 65fa08633f
2 changed files with 71 additions and 47 deletions

View File

@ -19,7 +19,7 @@ class Login(View):
''' login page '''
if request.user.is_authenticated:
return redirect('/')
# send user to the login page
# sene user to the login page
data = {
'title': 'Login',
'login_form': forms.LoginForm(),