docs: function (form) {
                // Special case: if the user is being redirected to this page for the
                // first time, don't display any error.
                if (form.data && !form.data.login && !form.data.password) {
                  return renderForm(form);
                }
  
                renderForm(form, { formErrors: helpers.collectFormErrors(form) });
              }