auth_settings_form = async (req) =>
  await config_fields_form({
    req,
    field_names: [
      "allow_signup",
      "login_menu",
      "allow_forgot",
      {
        section_header: req.__("Signup and login views"),
        sublabel: "Login and signup views should be accessible by public users",
      },
      "login_form",
      "signup_form",
      "new_user_form",
      "user_settings_form",
      "verification_view",
      "reset_password_email_view",
      { section_header: req.__("Additional login and signup settings") },
      "logout_url",
      "signup_role",
      "elevate_verified",
      "email_mask",
      "plain_password_triggers",
    ],
    action: "/useradmin/settings",
    submitLabel: req.__("Save"),
  })
Authentication Setting Form
@param {object} req
@returns {Form}