Re: Parametrization minimum password lenght

Nathan Bossart <nathandbossart@gmail.com>

From: Nathan Bossart <nathandbossart@gmail.com>
To: Bertrand Drouvot <bertranddrouvot.pg@gmail.com>
Cc: Emanuele Musella <emamuse86@gmail.com>, pgsql-hackers@lists.postgresql.org
Date: 2024-12-19T15:57:31Z
Lists: pgsql-hackers

Attachments

On Thu, Dec 19, 2024 at 09:36:17AM -0600, Nathan Bossart wrote:
> On Thu, Dec 19, 2024 at 07:25:30AM +0000, Bertrand Drouvot wrote:
>> -					 errmsg("password is too short")));
>> +					 errmsg("password is too short: %d (< %d)", pwdlen, min_password_length)));
> 
> I think we should explicitly point to the parameter and note its current
> value.

Like so.

-- 
nathan

Commits

  1. Add passwordcheck.min_password_length.