mirror of
https://git.ngram.ca/OpenJam/rc-servers
synced 2026-08-23 23:08:52 +00:00
Add basic auth support to get Cardlife working in non-offline mode
This commit is contained in:
15
auth/src/cardlife/mod.rs
Normal file
15
auth/src/cardlife/mod.rs
Normal 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())
|
||||
})
|
||||
}
|
||||
Reference in New Issue
Block a user