Silly typo

This commit is contained in:
Tracker-Friendly 2024-03-31 13:01:43 +01:00
parent 01520680f9
commit 7c4e1c4e00
1 changed files with 1 additions and 1 deletions

2
main
View File

@ -339,7 +339,7 @@ async def apitokenexchange():
else: else:
return 501 return 501
else: else:
if not oauth_data["secret"] != secret: if not oauth_data["secret"] == secret:
return {}, 401 return {}, 401
newkey = str(secrets.token_hex(512)) newkey = str(secrets.token_hex(512))