fixed probelm in auth.mygroups
This commit is contained in:
@@ -1 +1 @@
|
|||||||
Version 1.99.4 (2012-01-29 15:27:03) stable
|
Version 1.99.4 (2012-01-29 15:53:22) stable
|
||||||
|
|||||||
@@ -17,7 +17,7 @@
|
|||||||
<ul>
|
<ul>
|
||||||
<li><a target="_blank" href="http://www.metacryption.com">MetaCryption, LLC</a> (USA)</li>
|
<li><a target="_blank" href="http://www.metacryption.com">MetaCryption, LLC</a> (USA)</li>
|
||||||
<li><a target="_blank" href="http://www.secution.com">Secution, Inc</a> (USA)</li>
|
<li><a target="_blank" href="http://www.secution.com">Secution, Inc</a> (USA)</li>
|
||||||
<li><a target-"_blank" href="http://www.wadecybertech.com">Wade Cybertech</a> (USA)</li>
|
<li><a target-"_blank" href="http://www.wadecybertech.com">Wade Cybertech</a> (Canada)</li>
|
||||||
<li><a target="_blank" href="http://www.blouweb.com">Blouweb Consultoria Digital</a> (Brasil)</li>
|
<li><a target="_blank" href="http://www.blouweb.com">Blouweb Consultoria Digital</a> (Brasil)</li>
|
||||||
<li><a target="_blank" href="http://www.tecnodoc.com.ar">Tecnodoc</a> (Argentina)</li>
|
<li><a target="_blank" href="http://www.tecnodoc.com.ar">Tecnodoc</a> (Argentina)</li>
|
||||||
<li><a target="_blank" href="http://www.onemewebservices.com">OneMeWebServices</a> (Canada)</li>
|
<li><a target="_blank" href="http://www.onemewebservices.com">OneMeWebServices</a> (Canada)</li>
|
||||||
|
|||||||
+1
-1
@@ -872,7 +872,7 @@ class Auth(object):
|
|||||||
request = current.request
|
request = current.request
|
||||||
session = current.session
|
session = current.session
|
||||||
auth = session.auth
|
auth = session.auth
|
||||||
self.mygroups = auth.mygroups or {}
|
self.mygroups = auth and auth.mygroups or {}
|
||||||
if auth and auth.last_visit and auth.last_visit + \
|
if auth and auth.last_visit and auth.last_visit + \
|
||||||
datetime.timedelta(days=0, seconds=auth.expiration) > request.now:
|
datetime.timedelta(days=0, seconds=auth.expiration) > request.now:
|
||||||
self.user = auth.user
|
self.user = auth.user
|
||||||
|
|||||||
Reference in New Issue
Block a user