Skip to content

Commit

Permalink
Merge pull request #151 from IEEE-NITK/fix_login_list_index
Browse files Browse the repository at this point in the history
Fix list index error
  • Loading branch information
yukitya-1811 authored May 9, 2024
2 parents b2b73c0 + d862656 commit f6a35c6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion corpus/accounts/views.py
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ def signin(request):
else:
exec_member = None

if exec_member is not None:
if exec_member:
user = authenticate(
username=exec_member[0].user.email, password=password
)
Expand Down

0 comments on commit f6a35c6

Please sign in to comment.