login registration: provide phone authn config in template ctx (#88144)
gitea/authentic/pipeline/head This commit looks good
Details
gitea/authentic/pipeline/head This commit looks good
Details
This commit is contained in:
parent
6db2b57b4b
commit
154214b07b
|
@ -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)
|
||||
|
|
Loading…
Reference in New Issue