Skip to content

Commit

Permalink
Removed comment from friend looking over (#110)
Browse files Browse the repository at this point in the history
- Kept getpass due to my console not blocking it out and would rather
protect all consoles
  • Loading branch information
tylerlight071 authored Feb 7, 2024
2 parents c47d053 + edb6bc4 commit d615986
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion login.py
Original file line number Diff line number Diff line change
Expand Up @@ -104,7 +104,7 @@ def login():
# Display login prompt
print("\n👤 User Login 👤")
username = input("\nEnter your username: ")
password = getpass.getpass("Enter your password: ") # No need for getpass as input is hidden in most consoles
password = getpass.getpass("Enter your password: ")

# Query user credentials from MongoDB
user = users_collection.find_one({'username': username})
Expand Down

0 comments on commit d615986

Please sign in to comment.