GitLab is used only for code review, issue tracking and project management. Canonical locations for source code are still and

Commit 2ec5fa69 authored by ViolanteCodes's avatar ViolanteCodes
Browse files

added decorator back

parent b075e7fe
......@@ -420,6 +420,7 @@ class UserLoginErrorView(TemplateView):
"""A generic landing page if a username doesn't pass validation tests."""
template_name = 'anonticket/user_login_error.html'
@method_decorator(custom_ratelimit_ip(), name='post')
@method_decorator(custom_ratelimit_post(), name='post')
class GitlabAccountRequestCreateView(
PassUserIdentifierMixin, CreateView):
......@@ -714,6 +715,7 @@ class ProjectDetailView(DetailView):
def create_issue_view(request, user_identifier, *args):
"""View that allows a user to create an issue. Pulls the user_identifier
from the URL path and tries to pull that UserIdentifier from database,
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment