Merge branch 'patch-min_password_length' into 'master'

Create a util function to remove duplication

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

00:03:06