alterante solution for https://github.com/web2py/web2py/pull/215
This commit is contained in:
@@ -1 +1 @@
|
|||||||
Version 2.9.1-stable+timestamp.2014.03.02.17.16.25
|
Version 2.9.1-stable+timestamp.2014.03.02.17.18.31
|
||||||
|
|||||||
+3
-2
@@ -1130,7 +1130,7 @@ 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):
|
csrf_prevention=True, propagate_extension=None):
|
||||||
"""
|
"""
|
||||||
auth=Auth(db)
|
auth=Auth(db)
|
||||||
|
|
||||||
@@ -1166,7 +1166,8 @@ class Auth(object):
|
|||||||
# ## what happens after login?
|
# ## what happens after login?
|
||||||
|
|
||||||
url_index = URL(controller, 'index')
|
url_index = URL(controller, 'index')
|
||||||
url_login = URL(controller, function, args='login')
|
url_login = URL(controller, function, args='login',
|
||||||
|
extension = propagate_extension)
|
||||||
# ## what happens after registration?
|
# ## what happens after registration?
|
||||||
|
|
||||||
settings = self.settings = Settings()
|
settings = self.settings = Settings()
|
||||||
|
|||||||
Reference in New Issue
Block a user