aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBobby <[email protected]>2024-08-26 16:53:15 -0400
committerBobby <[email protected]>2024-08-26 16:53:15 -0400
commitf8a7ac6355f470ae17eb87679c67aa024840f07c (patch)
tree45198ca241a95562d2e023465ab6ca826b9cde0e
parenta0d5223334d8c619b91b1b99a73546858e835351 (diff)
downloadyugen-f8a7ac6355f470ae17eb87679c67aa024840f07c.tar.xz
yugen-f8a7ac6355f470ae17eb87679c67aa024840f07c.zip
temp auth on rate limit
-rw-r--r--user_profile/views.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/user_profile/views.py b/user_profile/views.py
index 4cbd198..dad696e 100644
--- a/user_profile/views.py
+++ b/user_profile/views.py
@@ -16,7 +16,7 @@ def user_profile(request):
"req_category": category
}
- if category == "anime_list" and (not request.user.mal_access_token or not request.user.mal_access_token_expires_at):
+ if category == "anime_list" and (not request.user.mal_access_token):
mal_auth_uri, code_challenge = get_mal_redirect_uri()
context["mal_auth_uri"] = mal_auth_uri
else: