vw_small

Hardened fork of Vaultwarden (https://github.com/dani-garcia/vaultwarden) with fewer features.
git clone https://git.philomathiclife.com/repos/vw_small
Log | Files | Refs | README

admin.rs (256B)


      1 use rocket::{Catcher, Route};
      2 pub fn routes() -> Vec<Route> {
      3     routes![admin_disabled]
      4 }
      5 pub const fn catchers() -> Vec<Catcher> {
      6     Vec::new()
      7 }
      8 #[get("/")]
      9 const fn admin_disabled() -> &'static str {
     10     "The admin panel is permanently disabled."
     11 }