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 ?? '');