fixed grin without login, thanks Liam
This commit is contained in:
@@ -1 +1 @@
|
|||||||
Version 2.0.2 (2012-08-30 08:09:29) stable
|
Version 2.0.2 (2012-08-30 08:14:07) stable
|
||||||
|
|||||||
+1
-1
@@ -1656,7 +1656,7 @@ class SQLFORM(FORM):
|
|||||||
if user_signature:
|
if user_signature:
|
||||||
if (args != request.args and user_signature and \
|
if (args != request.args and user_signature and \
|
||||||
not URL.verify(request,user_signature=user_signature)) or \
|
not URL.verify(request,user_signature=user_signature)) or \
|
||||||
(not session.auth.user and \
|
(not (session.auth and session.auth.user) and \
|
||||||
('edit' in request.args or \
|
('edit' in request.args or \
|
||||||
'create' in request.args or \
|
'create' in request.args or \
|
||||||
'delete' in request.args)):
|
'delete' in request.args)):
|
||||||
|
|||||||
Reference in New Issue
Block a user