Skip to content

Commit

Permalink
Merge pull request #16 from 22degrees/Auth
Browse files Browse the repository at this point in the history
  • Loading branch information
anthonycepeda authored May 5, 2024
2 parents e748e80 + 6933531 commit 109e0d5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion api/auth/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ def check_basic_auth_creds(
credentials.username, settings.API_USERNAME
)
correct_password = secrets.compare_digest(
credentials.username, settings.API_USERNAME
credentials.password, settings.API_PASSWORD
)

if correct_username and correct_password:
Expand Down

0 comments on commit 109e0d5

Please sign in to comment.