Merge branch 'patch-min_password_length' into 'master'

Create a util function to remove duplication

See merge request !866
1 job from master in 2 minutes and 38 seconds (queued for 3 seconds)
Status Job ID Name Coverage
  Syntax
passed #493
syntax:lint

00:02:38