diff --git a/VERSION b/VERSION index ce54ce20..70772022 100644 --- a/VERSION +++ b/VERSION @@ -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 diff --git a/gluon/tools.py b/gluon/tools.py index 0b1dbd10..8db8d0ae 100644 --- a/gluon/tools.py +++ b/gluon/tools.py @@ -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?