fnp
/
wolnelektury.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
csrf and honeypots
[wolnelektury.git]
/
apps
/
wolnelektury_core
/
views.py
diff --git
a/apps/wolnelektury_core/views.py
b/apps/wolnelektury_core/views.py
index
37df778
..
f8de19e
100644
(file)
--- a/
apps/wolnelektury_core/views.py
+++ b/
apps/wolnelektury_core/views.py
@@
-53,6
+53,7
@@
class RegisterFormView(AjaxableFormView):
submit = _('Register')
ajax_redirect = True
form_prefix = 'register'
submit = _('Register')
ajax_redirect = True
form_prefix = 'register'
+ honeypot = True
def __call__(self, request):
if request.user.is_authenticated():
def __call__(self, request):
if request.user.is_authenticated():