Add basic auth support to get Cardlife working in non-offline mode

This commit is contained in:
NGnius (Graham) committed 2025-01-25 17:44:26 -05:00
commit fe2816e9d3
13 files changed
+3714

No files matched your search

+15
View File
@@ -0,0 +1,15 @@
#[allow(unused_variables)]
mod email;
mod steam;
mod temporary_get_user_id;
#[allow(unused_variables)]
mod token;
pub fn stage() -> rocket::fairing::AdHoc {
rocket::fairing::AdHoc::on_ignite("JSON", |rocket| async {
rocket.attach(email::stage())
.attach(steam::stage())
.attach(temporary_get_user_id::stage())
.attach(token::stage())
})
}