mirror of
https://github.com/lldap/lldap.git
synced 2026-07-25 17:58:44 +00:00
server: remove default value for SMTP user
Otherwise, not setting the user would default to "admin", which breaks the unauthenticated workflow. No user specified should mean unauthenticated. Fixes #520.
This commit is contained in:
committed by
nitnelave
parent
b9e0e4a6dc
commit
86b2b5148d
@@ -25,7 +25,7 @@ pub struct MailOptions {
|
|||||||
pub server: String,
|
pub server: String,
|
||||||
#[builder(default = "587")]
|
#[builder(default = "587")]
|
||||||
pub port: u16,
|
pub port: u16,
|
||||||
#[builder(default = r#""admin".to_string()"#)]
|
#[builder(default = r#"String::default()"#)]
|
||||||
pub user: String,
|
pub user: String,
|
||||||
#[builder(default = r#"SecUtf8::from("")"#)]
|
#[builder(default = r#"SecUtf8::from("")"#)]
|
||||||
pub password: SecUtf8,
|
pub password: SecUtf8,
|
||||||
|
|||||||
Reference in New Issue
Block a user