summaryrefslogtreecommitdiffstats
path: root/idp/extra/modules/identities_ui.ptl
diff options
context:
space:
mode:
authorFrederic Peters <fpeters@0d.be>2008-09-15 16:19:34 (GMT)
committerFrederic Peters <fpeters@0d.be>2008-09-15 16:19:34 (GMT)
commit42683b2e542c101bdeb7018b27c2d4b560340951 (patch)
treefeea7b34ee798a7be75ac490c18fc09943e94686 /idp/extra/modules/identities_ui.ptl
parentb6c989771f034cd00296e391ba5d0d30525b4a01 (diff)
downloadpratic-42683b2e542c101bdeb7018b27c2d4b560340951.zip
pratic-42683b2e542c101bdeb7018b27c2d4b560340951.tar.gz
pratic-42683b2e542c101bdeb7018b27c2d4b560340951.tar.bz2
fixed new identity form
Diffstat (limited to 'idp/extra/modules/identities_ui.ptl')
-rw-r--r--idp/extra/modules/identities_ui.ptl1
1 files changed, 1 insertions, 0 deletions
diff --git a/idp/extra/modules/identities_ui.ptl b/idp/extra/modules/identities_ui.ptl
index ce7efe1..570ccaa 100644
--- a/idp/extra/modules/identities_ui.ptl
+++ b/idp/extra/modules/identities_ui.ptl
@@ -457,6 +457,7 @@ class IdentitiesDirectory(Directory):
def new [html] (self):
+ user = get_session().get_user_object()
if not user.is_admin():
raise errors.AccessForbiddenError()
form = Form(enctype='multipart/form-data')