fix(server): --session-cookie-secure flag; scope+char-count password; invalid-email test
This commit is contained in:
@@ -21,6 +21,10 @@ pub struct Config {
|
||||
|
||||
/// Send the session cookie with the `Secure` attribute (HTTPS-only). Disable
|
||||
/// only for plain-HTTP self-hosting behind no TLS at all.
|
||||
#[arg(long, env = "SESSION_COOKIE_SECURE", default_value_t = true)]
|
||||
#[arg(
|
||||
long = "session-cookie-secure",
|
||||
env = "SESSION_COOKIE_SECURE",
|
||||
default_value_t = true
|
||||
)]
|
||||
pub cookie_secure: bool,
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user