Skip to content

Commit

Permalink
Minor Change
Browse files Browse the repository at this point in the history
  • Loading branch information
Sparsh1101 committed Apr 13, 2022
1 parent cbed142 commit 26d8260
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions main/views.py
Original file line number Diff line number Diff line change
Expand Up @@ -58,10 +58,10 @@ def register(request):


def login(request):
form = forms.LoginForm()
form = LoginForm()
message = ""
if request.method == "POST":
form = forms.LoginForm(request.POST)
form = LoginForm(request.POST)
if form.is_valid():
user = authenticate(
request,
Expand Down

0 comments on commit 26d8260

Please sign in to comment.