Actually verify user credentials

This commit is contained in:
NGnius (Graham) committed 2025-04-01 19:38:03 -04:00
1 parent a540cf6d8f
commit 69d1bfaee0
14 files changed
+319 -63

No files matched your search

+3 -1
View File
@@ -13,8 +13,10 @@ fn index() -> &'static str {
#[rocket::launch]
fn rocket() -> _ {
env_logger::init();
let args = common::cli::CliArgs::get();
#[allow(unused_mut)]
let mut builder = rocket::build().mount("/", rocket::routes![index]);
let mut builder = rocket::build().mount("/", rocket::routes![index])
.manage(args.preloaded());
#[cfg(feature = "cardlife")]
{builder = builder.attach(cardlife::stage());}