forked from shaba/openuds
Fixed csrf_field name
This commit is contained in:
parent
0a0f2771ae
commit
a207e8f65f
@ -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)
|
||||
|
Loading…
Reference in New Issue
Block a user