fixed issue 2001, thanks Anthony

This commit is contained in:
mdipierro
2015-01-12 20:39:14 -06:00
parent 2af5e02c5f
commit b872cced33
2 changed files with 4 additions and 3 deletions
+1 -1
View File
@@ -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
View File
@@ -1258,7 +1258,8 @@ class Auth(object):
def __init__(self, environment=None, db=None, mailer=True,
hmac_key=None, controller='default', function='user',
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
if not db and environment and isinstance(environment, DAL):
@@ -1295,7 +1296,7 @@ class Auth(object):
del session.auth
# ## what happens after login?
url_index = URL(controller, 'index')
url_index = url_index or URL(controller, 'index')
url_login = URL(controller, function, args='login',
extension = propagate_extension)
# ## what happens after registration?