mirror of
https://github.com/cisagov/manage.get.gov.git
synced 2025-08-06 09:45:23 +02:00
Merge pull request #1179 from cisagov/es/availability-api-quickfix
Quickfix: Remove login requirement on domain availability API
This commit is contained in:
commit
1644109292
1 changed files with 0 additions and 3 deletions
|
@ -3,8 +3,6 @@ from django.apps import apps
|
|||
from django.views.decorators.http import require_http_methods
|
||||
from django.http import JsonResponse
|
||||
|
||||
from django.contrib.auth.decorators import login_required
|
||||
|
||||
import requests
|
||||
|
||||
from cachetools.func import ttl_cache
|
||||
|
@ -68,7 +66,6 @@ def in_domains(domain):
|
|||
|
||||
|
||||
@require_http_methods(["GET"])
|
||||
@login_required
|
||||
def available(request, domain=""):
|
||||
"""Is a given domain available or not.
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue