One quick change: In failed_login(), the line:

times_denied = 0

Should really be:

times_denied = 1

Reply via email to