Skip to content

Commit

Permalink
Use envvar LVMAPI_PASSWORD instead of PASSWORD
Browse files Browse the repository at this point in the history
  • Loading branch information
albireox committed Nov 25, 2023
1 parent 5e846ff commit c77a117
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/lvmapi/auth.py
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ class Token(BaseModel):
def verify_password(plain_password: str):
"""Verifies that the password passed matches the hashed one stored in the envvar."""

PASSWORD = os.getenv("PASSWORD") # Already hashed.
PASSWORD = os.getenv("LVMAPI_PASSWORD") # Already hashed.
if not PASSWORD:
return False

Expand Down

0 comments on commit c77a117

Please sign in to comment.