Thank you for the patch Boguslaw! Jose
De: "users" <[email protected]> Para: "users" <[email protected]> Enviados: Martes, 12 de Mayo 2020 9:16:35 Asunto: Re: [SOGo] Weak passwords W dniu 12.05.2020 o 13:58, Christian Mack ([email protected]) pisze: > Am 12.05.20 um 05:39 schrieb Jose David Bravo A > ([email protected]): >> I'm using sogo 4.3 but my users are able to set passwords very weak >> passwords, like 123. Is there any way to restrict the creation of such weak >> passwords? I'm using mysql as a database. > > With LDAP/AD authentication you can set password constraints in your > authentication source and tell SOGo to obey them with > passwordPolicy = YES; > > With authentication per database there is no such thing. > Databases don't restrict password fields in any way. > > You could open an enhancement request at https://sogo.nu/bugs for this. > Or you could disable changing passwords in SOGo and provide another way > to do so (e.g. a self service webpage). You can also do a little patch to the javascript code of SOGo webinterface. I did it for SOGO v2.3, but it should be easy to adapt it to the never version. I put my patch in attachement. Boguslaw Juza -- [email protected] https://inverse.ca/sogo/lists -- [email protected] https://inverse.ca/sogo/lists
