Fix password check
This commit is contained in:
parent
7de5cd52d2
commit
c4ed1e0792
1 changed files with 1 additions and 1 deletions
|
@ -60,7 +60,7 @@ def index(request):
|
|||
|
||||
def login_view(request):
|
||||
token = request.POST["token"]
|
||||
user = authenticate(request, username="guest", password=token)
|
||||
user = authenticate(request, username="guest", password=token.lower())
|
||||
if user is not None:
|
||||
login(request, user)
|
||||
return redirect("home")
|
||||
|
|
Loading…
Reference in a new issue