So you've confirmed that your validation function is not firing at all?
Ryan,
just a different approach to form_id match than the book.
> switch ($form_id) {
> case 'user_login':
> case 'user_login_block':
> // If the user login form is being submitted,
since those two share a _single_ break statement, the effect is "in
either case" ...
i.e., OR.
Ben