From a4472baa84660655bb36990d135522f121506f34 Mon Sep 17 00:00:00 2001 From: Israel Figueroa Date: Tue, 30 Jul 2024 15:59:10 -0400 Subject: [PATCH] try --- project/api/views/auth.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/project/api/views/auth.py b/project/api/views/auth.py index 1b2c316..b8aa943 100755 --- a/project/api/views/auth.py +++ b/project/api/views/auth.py @@ -174,8 +174,8 @@ def enviar_correo(destinatario, asunto, contenido): return False -def http_referer(request): - if 'HTTP_REFERER' in request.META: +def http_referer(request, clean=False): + if 'HTTP_REFERER' in request.META and clean==False: referer = request.META['HTTP_REFERER'] else: protocol = request.scheme