From 62aa0a9e0f1903105eaf2d4ad1f70e9ac9badf23 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jorge=20E=2E=20G=C3=B3mez?= Date: Mon, 7 Oct 2024 21:01:19 -0500 Subject: [PATCH] [DEL] Duplicated patch --- patches/20210603_auth-oauth_redirect-to-root.patch | 12 ------------ 1 file changed, 12 deletions(-) delete mode 100644 patches/20210603_auth-oauth_redirect-to-root.patch diff --git a/patches/20210603_auth-oauth_redirect-to-root.patch b/patches/20210603_auth-oauth_redirect-to-root.patch deleted file mode 100644 index 88dd6dd..0000000 --- a/patches/20210603_auth-oauth_redirect-to-root.patch +++ /dev/null @@ -1,12 +0,0 @@ -diff -rupN auth_oauth/controllers/main.py auth_oauth.patch/controllers/main.py ---- auth_oauth/controllers/main.py 2021-04-20 19:22:26.786894865 -0500 -+++ auth_oauth.patch/controllers/main.py 2021-06-03 21:43:26.020870042 -0500 -@@ -70,7 +70,7 @@ class OAuthLogin(Home): - return providers - - def get_state(self, provider): -- redirect = request.params.get('redirect') or 'web' -+ redirect = request.params.get('redirect') or '/' - if not redirect.startswith(('//', 'http://', 'https://')): - redirect = '%s%s' % (request.httprequest.url_root, redirect[1:] if redirect[0] == '/' else redirect) - state = dict(