From 9c146640b387cc51f4485ebb3e18c9ffef0058d0 Mon Sep 17 00:00:00 2001 From: Max Peintner Date: Thu, 1 Dec 2022 16:59:16 +0100 Subject: [PATCH] fix(console): fix login text ref (#4806) --- console/src/app/modules/policies/login-texts/helper.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/console/src/app/modules/policies/login-texts/helper.ts b/console/src/app/modules/policies/login-texts/helper.ts index f4a2e892c..6fd03305a 100644 --- a/console/src/app/modules/policies/login-texts/helper.ts +++ b/console/src/app/modules/policies/login-texts/helper.ts @@ -118,7 +118,7 @@ export function mapRequestValues(map: Partial, req: Req): Req { req.setInitPasswordDoneText(r8); const r9 = new InitPasswordScreenText(); - r9.setCodeLabel(map.initPasswordText?.description ?? ''); + r9.setCodeLabel(map.initPasswordText?.codeLabel ?? ''); r9.setDescription(map.initPasswordText?.description ?? ''); r9.setNewPasswordConfirmLabel(map.initPasswordText?.newPasswordConfirmLabel ?? ''); r9.setNewPasswordLabel(map.initPasswordText?.newPasswordLabel ?? '');