1
0
mirror of https://github.com/dkmstr/openuds.git synced 2024-12-24 21:34:41 +03:00

Fixed csrf_field name

This commit is contained in:
Adolfo Gómez García 2022-05-26 15:36:56 +02:00
parent 0a0f2771ae
commit a207e8f65f

View File

@ -57,7 +57,7 @@ def index(request: HttpRequest) -> HttpResponse:
if csrf_token is not None:
csrf_token = str(csrf_token)
response = render(request, 'uds/modern/index.html', {'csrf_field': CSRF_FIELD, 'csfr_token': csrf_token})
response = render(request, 'uds/modern/index.html', {'csrf_field': CSRF_FIELD, 'csrf_token': csrf_token})
# Ensure UDS cookie is present
auth.getUDSCookie(request, response)