[DEL] Duplicated patch
This commit is contained in:
parent
7736100499
commit
62aa0a9e0f
@ -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(
|
|
||||||
Loading…
Reference in New Issue
Block a user