Add actix-identity crate
This commit is contained in:
@ -15,6 +15,14 @@ pub struct AppConfig {
|
||||
/// Storage path
|
||||
#[clap(short, long, env)]
|
||||
pub storage_path: String,
|
||||
|
||||
/// App token token
|
||||
#[clap(short, long, env, default_value = "")]
|
||||
pub token_key: String,
|
||||
|
||||
/// Should the auth cookie be secure
|
||||
#[clap(long, env)]
|
||||
pub secure_auth_cookie: bool,
|
||||
}
|
||||
|
||||
impl AppConfig {
|
||||
|
Reference in New Issue
Block a user