login registration: provide phone authn config in template ctx (#88144)
gitea/authentic/pipeline/head This commit looks good Details

This commit is contained in:
Paul Marillonnet 2024-03-14 11:45:49 +01:00
parent 6db2b57b4b
commit 154214b07b
1 changed files with 1 additions and 0 deletions

View File

@ -477,4 +477,5 @@ class LoginPasswordAuthenticator(BaseAuthenticator):
def registration(self, request, *args, **kwargs):
context = kwargs.get('context', {})
context['is_phone_authn_active'] = self.is_phone_authn_active
return render(request, 'authentic2/login_password_registration_form.html', context)