mirror of
				https://github.com/nitnelave/lldap.git
				synced 2023-04-12 14:25:13 +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:
		
							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,
 | 
				
			||||||
 | 
				
			|||||||
		Loading…
	
		Reference in New Issue
	
	Block a user