fixed issue 2001, thanks Anthony
This commit is contained in:
1 parent
2af5e02c5f
commit
b872cced33
2 files changed
+4
-3
No files matched your search
@@ -1 +1 @@
|
|||||||
Version 2.10.0-beta+timestamp.2014.10.16.15.58.50
|
Version 2.9.12-beta+timestamp.2015.01.12.20.38.57
|
||||||
+3
-2
@@ -1258,7 +1258,8 @@ class Auth(object):
|
|||||||
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',
|
||||||
cas_provider=None, signature=True, secure=False,
|
cas_provider=None, signature=True, secure=False,
|
||||||
csrf_prevention=True, propagate_extension=None):
|
csrf_prevention=True, propagate_extension=None,
|
||||||
|
url_index=None):
|
||||||
|
|
||||||
## next two lines for backward compatibility
|
## next two lines for backward compatibility
|
||||||
if not db and environment and isinstance(environment, DAL):
|
if not db and environment and isinstance(environment, DAL):
|
||||||
@@ -1295,7 +1296,7 @@ class Auth(object):
|
|||||||
del session.auth
|
del session.auth
|
||||||
# ## what happens after login?
|
# ## what happens after login?
|
||||||
|
|
||||||
url_index = URL(controller, 'index')
|
url_index = url_index or URL(controller, 'index')
|
||||||
url_login = URL(controller, function, args='login',
|
url_login = URL(controller, function, args='login',
|
||||||
extension = propagate_extension)
|
extension = propagate_extension)
|
||||||
# ## what happens after registration?
|
# ## what happens after registration?
|
||||||
|
|||||||
Reference in new issue
Block a user