N°8933 - Change password default length#806
Conversation
There was a problem hiding this comment.
Pull request overview
Updates the authent-local module’s default password policy to require 12+ characters and aligns the user-facing validation messages across most locales.
Changes:
- Increased default password validation regex minimum length from 8 to 12 characters.
- Updated localized default error messages to say “at least 12 characters” (multiple dictionaries).
- Performed dictionary formatting/alignment changes in the touched locale files.
Reviewed changes
Copilot reviewed 17 out of 17 changed files in this pull request and generated 8 comments.
Show a summary per file
| File | Description |
|---|---|
| datamodels/2.x/authent-local/datamodel.authent-local.xml | Raises default password regex minimum length to 12. |
| datamodels/2.x/authent-local/dictionaries/en.dict.authent-local.php | Updates EN default validation message to 12 chars (plus alignment changes). |
| datamodels/2.x/authent-local/dictionaries/en_gb.dict.authent-local.php | Updates EN-GB default validation message to 12 chars (plus alignment changes). |
| datamodels/2.x/authent-local/dictionaries/fr.dict.authent-local.php | Updates FR default validation message to 12 chars (plus alignment changes). |
| datamodels/2.x/authent-local/dictionaries/de.dict.authent-local.php | Updates DE default validation message to 12 chars (plus alignment changes). |
| datamodels/2.x/authent-local/dictionaries/es_cr.dict.authent-local.php | Updates ES-CR default validation message to 12 chars (plus header/order + alignment changes). |
| datamodels/2.x/authent-local/dictionaries/it.dict.authent-local.php | Updates IT default validation message to 12 chars (plus alignment changes). |
| datamodels/2.x/authent-local/dictionaries/nl.dict.authent-local.php | Updates NL default validation message to 12 chars (plus alignment changes). |
| datamodels/2.x/authent-local/dictionaries/pl.dict.authent-local.php | Updates PL default validation message to 12 chars (plus alignment changes). |
| datamodels/2.x/authent-local/dictionaries/pt_br.dict.authent-local.php | Updates PT-BR default validation message to 12 chars (plus alignment changes). |
| datamodels/2.x/authent-local/dictionaries/ru.dict.authent-local.php | Updates RU default validation message to 12 chars (plus alignment changes). |
| datamodels/2.x/authent-local/dictionaries/cs.dict.authent-local.php | Updates CS default validation message to 12 chars (plus alignment changes). |
| datamodels/2.x/authent-local/dictionaries/da.dict.authent-local.php | Updates DA default validation message to 12 chars (plus alignment changes). |
| datamodels/2.x/authent-local/dictionaries/hu.dict.authent-local.php | Updates HU default validation message to 12 chars (plus alignment changes). |
| datamodels/2.x/authent-local/dictionaries/ja.dict.authent-local.php | Updates JA default validation message to 12 chars (plus alignment changes). |
| datamodels/2.x/authent-local/dictionaries/sk.dict.authent-local.php | Updates SK default validation message to 12 chars (plus alignment changes). |
| datamodels/2.x/authent-local/dictionaries/tr.dict.authent-local.php | Updates TR default validation message to 12 chars (plus alignment changes). |
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
| 'UserLocal:password:expiration' => 'The fields below require an extension~~', | ||
| 'Class:UserLocal/Error:OneTimePasswordChangeIsNotAllowed' => 'Setting password expiration to "One-time password" is not allowed for your own User~~', | ||
| 'Class:UserLocal' => ITOP_APPLICATION_SHORT.' užívateľ', | ||
| 'Class:UserLocal+' => 'User authentified by '.ITOP_APPLICATION_SHORT.'~~', |
There was a problem hiding this comment.
Spelling: "authentified" should be "authenticated" in this (currently English) label.
| 'Class:UserLocal+' => 'User authentified by '.ITOP_APPLICATION_SHORT.'~~', | |
| 'Class:UserLocal+' => 'User authenticated by '.ITOP_APPLICATION_SHORT.'~~', |
| 'UserLocal:password:expiration' => 'The fields below require an extension~~', | ||
| 'Class:UserLocal/Error:OneTimePasswordChangeIsNotAllowed' => 'Setting password expiration to "One-time password" is not allowed for your own User~~', | ||
| 'Class:UserLocal' => ITOP_APPLICATION_SHORT.' kullanıcısı', | ||
| 'Class:UserLocal+' => 'Yetki kontorlünü '.ITOP_APPLICATION_SHORT.' tarafından yapılan kullanıcı', |
There was a problem hiding this comment.
The Turkish translation for "Class:UserLocal+" contains a typo ("kontorlünü"), which will be displayed in the UI. Please correct the spelling (likely "kontrolünü").
| 'Class:UserLocal+' => 'Yetki kontorlünü '.ITOP_APPLICATION_SHORT.' tarafından yapılan kullanıcı', | |
| 'Class:UserLocal+' => 'Yetki kontrolünü '.ITOP_APPLICATION_SHORT.' tarafından yapılan kullanıcı', |
| 'Class:UserLocal/Attribute:password_renewed_date+' => 'Cuando fue el último cambio de contraseña', | ||
| 'Error:UserLocalPasswordValidator:UserPasswordPolicyRegex:ValidationFailed' => 'La contraseña debe ser de al menos 12 caracteres e incluír mayúsculas, minúsculas, números y caracteres especiales.', | ||
| 'UserLocal:password:expiration' => 'El siguiente campo requiere una extensión', | ||
| 'Class:UserLocal/Error:OneTimePasswordChangeIsNotAllowed' => 'Configurar expiración de contraseña para "ontraseña de un solo uso" no está permitido para su propio Usuario', |
There was a problem hiding this comment.
This Spanish string contains a typo in "Contraseña" (missing the initial "C"), which will be visible in the UI. Please correct it.
| 'Class:UserLocal/Error:OneTimePasswordChangeIsNotAllowed' => 'Configurar expiración de contraseña para "ontraseña de un solo uso" no está permitido para su propio Usuario', | |
| 'Class:UserLocal/Error:OneTimePasswordChangeIsNotAllowed' => 'Configurar expiración de contraseña para "Contraseña de un solo uso" no está permitido para su propio Usuario', |
datamodels/2.x/authent-local/dictionaries/es_cr.dict.authent-local.php
Outdated
Show resolved
Hide resolved
| 'Class:UserLocal+' => 'User authentified by '.ITOP_APPLICATION_SHORT, | ||
| 'Class:UserLocal/Attribute:password' => 'Password', | ||
| 'Class:UserLocal' => ITOP_APPLICATION_SHORT.' user', | ||
| 'Class:UserLocal+' => 'User authentified by '.ITOP_APPLICATION_SHORT, |
There was a problem hiding this comment.
Spelling: "authentified" should be "authenticated" in this English UI label.
| 'Class:UserLocal+' => 'User authentified by '.ITOP_APPLICATION_SHORT, | |
| 'Class:UserLocal+' => 'User authenticated by '.ITOP_APPLICATION_SHORT, |
| 'Class:UserLocal+' => 'User authentified by '.ITOP_APPLICATION_SHORT, | ||
| 'Class:UserLocal/Attribute:password' => 'Password', | ||
| 'Class:UserLocal' => ITOP_APPLICATION_SHORT.' user', | ||
| 'Class:UserLocal+' => 'User authentified by '.ITOP_APPLICATION_SHORT, |
There was a problem hiding this comment.
Spelling: "authentified" should be "authenticated" in this English UI label.
| 'Class:UserLocal+' => 'User authentified by '.ITOP_APPLICATION_SHORT, | |
| 'Class:UserLocal+' => 'User authenticated by '.ITOP_APPLICATION_SHORT, |
d017050 to
5a3c9b5
Compare
5a3c9b5 to
12bf16f
Compare
- adjust unitary test
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
Base information
Symptom (bug) / Objective (enhancement)
Change password default length