only do dict comparisons if not tainted

This commit is contained in:
lpm0073 2022-10-05 19:47:46 -05:00
parent cb78347ed2
commit 53f530c0af

View File

@ -152,6 +152,7 @@ class StepwiseMathWPOAuth2(BaseOAuth2):
)) ))
tainted = True tainted = True
if not tainted:
# a def in the third_party_auth pipeline list calls get_user_details() after its already # a def in the third_party_auth pipeline list calls get_user_details() after its already
# been called once. i don't know why. but, it passes the original get_user_details() dict # been called once. i don't know why. but, it passes the original get_user_details() dict
# enhanced with additional token-related keys. if we receive this modified dict then we # enhanced with additional token-related keys. if we receive this modified dict then we