**SPIP**
# Article validé
L’article "**\_PASS\_LONGUEUR_MINI**
(https://www.spip.net/en_article6571.html)" vient d’être publié par
b_b.
* * *
## \_PASS\_LONGUEUR_MINI
mardi 26 mai 2020 , par [jack](.././?page=auteur&id_auteur=593&)
This constant is used to redefine the minimum size of user passwords. By
default it is 6.
It is possible to customize this constant in your file
`config/mes_options.php` (see the article dedicated to it
(https://www.spip.net/ecrire/?exec=article&id_article=4909)) :
// force authors to choose a password of at least 12 characters
define
(http://www.php.net/define)
(
'_PASS_LONGUEUR_MINI'
,
'12'
)
;
**P.-S.**
You can also check the minimum login length with
\_LOGIN\_TROP_COURT
(https://www.spip.net/ecrire/?exec=article&id_article=6572)
— Envoyé par SPIP (https://www.spip.net/)
