Minor change at 1228. I think it was intended to be "if($askAttempts -gt 2" and…
Minor change at line 1228. I think it was intended to be "if($askAttempts -gt 2" and not "-gt 3". As it was written, the abort would never happen if the user did not enter a UserName and an empty username could be passed back.