Skip to content

Commit 109e0d5

Browse files
Merge pull request #16 from 22degrees/Auth
2 parents e748e80 + 6933531 commit 109e0d5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

api/auth/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ def check_basic_auth_creds(
2424
credentials.username, settings.API_USERNAME
2525
)
2626
correct_password = secrets.compare_digest(
27-
credentials.username, settings.API_USERNAME
27+
credentials.password, settings.API_PASSWORD
2828
)
2929

3030
if correct_username and correct_password:

0 commit comments

Comments
 (0)