fixed security issue with redirect after expired login, thanks André Kablu
This commit is contained in:
@@ -1 +1 @@
|
|||||||
Version 2.8.2-stable+timestamp.2014.01.14.22.16.35
|
Version 2.8.2-stable+timestamp.2014.01.24.16.21.05
|
||||||
|
|||||||
@@ -3,7 +3,7 @@ import os, sys
|
|||||||
from test_http import *
|
from test_http import *
|
||||||
from test_cache import *
|
from test_cache import *
|
||||||
|
|
||||||
if "google" in os.getenv("DB"):
|
if "google" in (os.getenv("DB") or []):
|
||||||
from test_dal_nosql import *
|
from test_dal_nosql import *
|
||||||
else:
|
else:
|
||||||
from test_dal import *
|
from test_dal import *
|
||||||
|
|||||||
+1
-1
@@ -1125,7 +1125,7 @@ class Auth(object):
|
|||||||
f=f, args=args, vars=vars, scheme=scheme)
|
f=f, args=args, vars=vars, scheme=scheme)
|
||||||
|
|
||||||
def here(self):
|
def here(self):
|
||||||
return URL(args=current.request.args,vars=current.request.vars)
|
return URL(args=current.request.args,vars=current.request.get_vars)
|
||||||
|
|
||||||
def __init__(self, environment=None, db=None, mailer=True,
|
def __init__(self, environment=None, db=None, mailer=True,
|
||||||
hmac_key=None, controller='default', function='user',
|
hmac_key=None, controller='default', function='user',
|
||||||
|
|||||||
Reference in New Issue
Block a user