Can disable local login
All checks were successful
continuous-integration/drone/push Build is passing

This commit is contained in:
2025-10-29 12:20:05 +01:00
parent 9a599fdde2
commit d4de81f1fb
6 changed files with 22 additions and 3 deletions

View File

@@ -62,6 +62,11 @@ pub struct AppConfig {
/// Login background image
#[arg(long, env, default_value = "/assets/img/forest.jpg")]
pub login_background_image: String,
/// Disable local login. If this option is set without any upstream providers set, it will be impossible
/// to authenticate
#[arg(long, env)]
pub disable_local_login: bool,
}
lazy_static::lazy_static! {