Fixes authentication tests
This commit is contained in:
parent
a2d7a97dc3
commit
65fa08633f
2 changed files with 71 additions and 47 deletions
|
@ -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(),
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue