server: Add http_url to the configuration
This commit is contained in:
committed by
nitnelave
parent
a13bfc3575
commit
db2b5cbae0
@@ -10,6 +10,7 @@ pub struct CLIOpts {
|
||||
pub command: Command,
|
||||
}
|
||||
|
||||
#[allow(clippy::large_enum_variant)]
|
||||
#[derive(Debug, Clap, Clone)]
|
||||
pub enum Command {
|
||||
/// Export the GraphQL schema to *.graphql.
|
||||
@@ -56,6 +57,10 @@ pub struct RunOpts {
|
||||
#[clap(long, env = "LLDAP_HTTP_PORT")]
|
||||
pub http_port: Option<u16>,
|
||||
|
||||
/// URL of the server, for password reset links.
|
||||
#[clap(long, env = "LLDAP_HTTP_URL")]
|
||||
pub http_url: Option<String>,
|
||||
|
||||
#[clap(flatten)]
|
||||
pub smtp_opts: SmtpOpts,
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user