fixing thing that i broke

This commit is contained in:
Szymon Andrzejewski 2025-02-19 07:30:29 +01:00 committed by GitHub
parent 63c42b9854
commit cd53fbf2f5
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -760,7 +760,7 @@ class SpotifyPKCE(SpotifyAuthBase):
"Use a loopback IP address such as 127.0.0.1 " "Use a loopback IP address such as 127.0.0.1 "
"to ensure your app remains functional.") "to ensure your app remains functional.")
if redirect_info.scheme == "http" and not redirect_host not in ("127.0.0.1", "localhost"): if redirect_info.scheme == "http" and redirect_host not in ("127.0.0.1", "localhost"):
logger.warning( logger.warning(
"Redirect URIs using HTTP are being deprecated. " "Redirect URIs using HTTP are being deprecated. "
"To ensure your app remains functional, use HTTPS instead.") "To ensure your app remains functional, use HTTPS instead.")