/*
    This file is part of jellything (https://codeberg.org/metamuffin/jellything)
    which is licensed under the GNU Affero General Public License (version 3); see /COPYING.
    Copyright (C) 2026 metamuffin <metamuffin.org>
*/
use super::A;
use crate::ui::error::MyError;
use anyhow::anyhow;
use log::warn;
use rocket::{
    Request, async_trait,
    http::Status,
    outcome::Outcome,
    request::{self, FromRequest},
};
