misc: fix authenticator var name (#31607)
This commit is contained in:
parent
eba733dad4
commit
4c04187f47
|
@ -349,7 +349,7 @@ def login(request, template_name='authentic2/login.html',
|
|||
redirect_field_name: redirect_to,
|
||||
'form': block['form']
|
||||
})
|
||||
if hasattr(frontend, 'get_context'):
|
||||
if hasattr(authenticator, 'get_context'):
|
||||
context.update(authenticator.get_context())
|
||||
sub_template_name = authenticator.template()
|
||||
block['content'] = render_to_string(
|
||||
|
|
Loading…
Reference in New Issue