From 044d95916d738762f3c7db4ebfb95ecc2e697448 Mon Sep 17 00:00:00 2001 From: Andres Vargas Date: Wed, 12 Jan 2022 21:09:34 -0600 Subject: [PATCH] Update client.py because the intention is good but instead receives an annoying print. --- gotrue/_sync/client.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gotrue/_sync/client.py b/gotrue/_sync/client.py index 09e104a6..a55034dd 100644 --- a/gotrue/_sync/client.py +++ b/gotrue/_sync/client.py @@ -53,7 +53,7 @@ def __init__( cookie_options : CookieOptions The options for the cookie. """ - if url.startswith("http"): + if url.startswith("http://"): print( "Warning:\n\nDO NOT USE HTTP IN PRODUCTION FOR GOTRUE EVER!\n" "GoTrue REQUIRES HTTPS to work securely."