mirror of
https://github.com/cisagov/manage.get.gov.git
synced 2025-05-17 18:09:25 +02:00
Remove login requirement on domain availability API
This commit is contained in:
parent
c1994a07e7
commit
8c0d88df2a
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