X-Git-Url: https://scm.cri.ensmp.fr/git/Plinn.git/blobdiff_plain/af9b2459c45635addd229e3265bd0018d71fde3b..bec2191d8ad9607db748a051eb96ed0a79e7e99f:/skins/photo_theme/validatePrivateAccess.py?ds=inline diff --git a/skins/photo_theme/validatePrivateAccess.py b/skins/photo_theme/validatePrivateAccess.py deleted file mode 100755 index 19e3a7d..0000000 --- a/skins/photo_theme/validatePrivateAccess.py +++ /dev/null @@ -1,16 +0,0 @@ -##parameters=**kw -kg = lambda name : kw.get(name,'').strip() - -weddingId = kg('wedding_id') -if not weddingId : - return True - -else : - password = kg('wedding_password') - confirm = kg('wedding_password_confirm') - memberId = kg('member_id') - msg = context.grantAccess(context, weddingId, password, confirm, memberId) - if msg : - return context.setStatus(False, msg) - else : - return True