Oh, and this is one place where you *don't* give lots of details of what went wrong. Don't say "invalid user", don't say "bad password", say "Bad username or password". and exit 1 if your failure is at a cli - that's it
On Tue, Oct 27, 2015 at 3:36 AM, Kent Fredric <kentfred...@gmail.com> wrote: > On 27 October 2015 at 20:25, shawn wilson <ag4ve...@gmail.com> wrote: >> do to manage policies and prevent users from using weak passwords and >> emulate them. > > > And if you want some examples on how *NOT* to restrict passwords, this > site catalogues a lot of embarrasing failures. > > http://password-shaming.tumblr.com/ > > And this site does similar except for sites that obviously store > passwords in plaintext: http://plaintextoffenders.com/ > > > -- > Kent > > KENTNL - https://metacpan.org/author/KENTNL -- To unsubscribe, e-mail: beginners-unsubscr...@perl.org For additional commands, e-mail: beginners-h...@perl.org http://learn.perl.org/