feat: Allow devices to be removed from the account panel

This commit is contained in:
Ginger
2026-04-30 11:32:30 -04:00
parent ee73a2b36d
commit 6f17868525
9 changed files with 172 additions and 41 deletions
+3 -1
View File
@@ -3,7 +3,7 @@ use std::{any::Any, sync::Once, time::Duration};
use askama::Template;
use axum::{
Router,
extract::rejection::{FormRejection, QueryRejection},
extract::rejection::{FormRejection, PathRejection, QueryRejection},
http::{HeaderValue, StatusCode, header},
response::{Html, IntoResponse, Redirect, Response},
};
@@ -37,6 +37,8 @@ enum WebError {
#[error("{0}")]
FormRejection(#[from] FormRejection),
#[error("{0}")]
PathRejection(#[from] PathRejection),
#[error("{0}")]
BadRequest(String),
#[error("This page does not exist.")]