Add @anonymous_user_required to register endpoint. Fixes #212

This commit is contained in:
Matt Wright
2014-01-24 10:23:42 -05:00
parent 316d945d96
commit 2e57734d1f
2 changed files with 2 additions and 0 deletions
+1
View File
@@ -98,6 +98,7 @@ def logout():
get_url(_security.post_logout_view))
@anonymous_user_required
def register():
"""View function which handles a registration request."""