From 4206a8c43e16964d33c7bb9ef052882468018468 Mon Sep 17 00:00:00 2001 From: Jens Langhammer Date: Sun, 17 May 2020 23:55:25 +0200 Subject: [PATCH] stages/password: fix button without labeling --- passbook/stages/password/stage.py | 1 + 1 file changed, 1 insertion(+) diff --git a/passbook/stages/password/stage.py b/passbook/stages/password/stage.py index 6514d72ef..41abac5f8 100644 --- a/passbook/stages/password/stage.py +++ b/passbook/stages/password/stage.py @@ -54,6 +54,7 @@ class PasswordStage(FormView, StageView): def get_context_data(self, **kwargs): kwargs = super().get_context_data(**kwargs) + kwargs["primary_action"] = _("Log in") recovery_flow = Flow.objects.filter(designation=FlowDesignation.RECOVERY) if recovery_flow.exists(): kwargs["recovery_flow"] = recovery_flow.first()