fix login block (broken by 7f0bfb4) (#25649)

This commit is contained in:
Frédéric Péters 2018-08-13 10:28:06 +02:00
parent 7f0bfb42a6
commit f9d0087fa8
1 changed files with 1 additions and 2 deletions

View File

@ -40,8 +40,7 @@ class FedictFrontend(object):
if request.method == 'POST' and submit_name in request.POST:
return redirect_to_login(request, login_url='fedict-login')
context['submit_name'] = submit_name
return render(request, 'authentic2_auth_fedict/login.html', {'submit_name': submit_name},
context)
return render(request, 'authentic2_auth_fedict/login.html', context)
def profile(self, request, *args, **kwargs):
context = kwargs.get('context', {}).copy()