On Tue, Oct 27, 2015 at 1:15 PM, Shawn H Corey <shawnhco...@gmail.com> wrote:
> On Tue, 27 Oct 2015 12:25:38 -0400
> shawn wilson <ag4ve...@gmail.com> wrote:
>
>> 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
>
> Print the error message and then sleep for 5 seconds. This is to slow
> down automated guessers.
>

time*tries*exp is probably more like what you want, and do it before
you print the error, but yeah

-- 
To unsubscribe, e-mail: beginners-unsubscr...@perl.org
For additional commands, e-mail: beginners-h...@perl.org
http://learn.perl.org/


Reply via email to