Fix - Issue #147
This commit is contained in:
commit
7e91476e47
|
@ -95,7 +95,8 @@ class AppValues(object):
|
|||
def on_get(self, req, resp, table):
|
||||
values = req.params
|
||||
session = req.env['beaker.session']
|
||||
if not 'userobj' in session:
|
||||
|
||||
if not 'userobj' in session and req.path != '/values/empresas':
|
||||
session.invalidate()
|
||||
raise falcon.HTTPTemporaryRedirect('/')
|
||||
|
||||
|
|
Loading…
Reference in New Issue