gitit icon indicating copy to clipboard operation
gitit copied to clipboard

inform user of password has requirements (6 char, one number) in prompt

Open andrewufrank opened this issue 5 years ago • 1 comments

a very simple change in the prompt when asking the user to register a new account: tell ahead of time that the password must include a character (besides the mentioned being six char long).

it is frustrating and confusing to have your input rejected and be forced to start afresh for missing a condition which you were not told.

aside: i think asking for a number (or any combination of such things as capitals, etc. etc.) is pretty useless. useful are only longer (non dictionary) passwords - and those should only be asked to protect secrets of value.

andrewufrank avatar Dec 09 '20 13:12 andrewufrank

In the code we have

            , label ! [thefor "password"]
                    << ("Password (at least 6 characters," ++
                        " including at least one non-letter):")

So it seems that the form does include this information.

jgm avatar Dec 09 '20 16:12 jgm