X-Git-Url: https://git.mdrn.pl/redakcja.git/blobdiff_plain/31006b86a2e9883d8a4c5fe18128821b325773ab..8bed012a092f7846e2744a38c6063708a62724a0:/redakcja/views.py?ds=sidebyside

diff --git a/redakcja/views.py b/redakcja/views.py
index 07c6d65b..948a374e 100644
--- a/redakcja/views.py
+++ b/redakcja/views.py
@@ -7,6 +7,8 @@ from django.shortcuts import render, redirect
 from django.contrib.auth import authenticate, login
 from django.contrib.auth.models import User
 from django.core.mail import send_mail
+from honeypot.decorators import check_honeypot
+
 from .forms import RegistrationForm
 from catalogue.models import Document
 from organizations.models import Organization
@@ -33,6 +35,7 @@ def main(request):
     })
 
 
+@check_honeypot
 def register(request):
     if request.method == 'POST':
         form = RegistrationForm(request.POST, request.FILES)