or(self, 'login', error.reason, error.message);
                            $(self.elements.password).focus();
                        }
                    });
            }
            return false;
        });

    $('#recover-form')
        .submit(function() {
            var self = this;
            $('#recover-form .alert:visible').slideUp();
            if (require_el('#recover-email')) {
                var email = $('#recover-email').val();
                recoverPassword(email, 'emailAddress', nu