Commit 3dc910989e3aa966dacbfab46b76b9cf09597daf

Authored by Adley
1 parent f0e36f4f
Exists in master

correções de imports

Showing 1 changed file with 1 additions and 1 deletions   Show diff stats
wscacicneo/__init__.py
@@ -16,7 +16,7 @@ def main(global_config, **settings): @@ -16,7 +16,7 @@ def main(global_config, **settings):
16 config.setup(settings) 16 config.setup(settings)
17 from wscacicneo.security import groupfinder 17 from wscacicneo.security import groupfinder
18 authn_policy = AuthTktAuthenticationPolicy( 18 authn_policy = AuthTktAuthenticationPolicy(
19 - 'sosecret', callback=groupfinder, hashalg='sha512') 19 + 'sosecret', callback=groupfinder, hashalg='sha512', include_ip=True, timeout=3600)
20 authz_policy = ACLAuthorizationPolicy() 20 authz_policy = ACLAuthorizationPolicy()
21 cfg = Configurator(settings=settings, root_factory='wscacicneo.models.RootFactory') 21 cfg = Configurator(settings=settings, root_factory='wscacicneo.models.RootFactory')
22 cfg.set_authentication_policy(authn_policy) 22 cfg.set_authentication_policy(authn_policy)