mirror of
				https://github.com/nitnelave/lldap.git
				synced 2023-04-12 14:25:13 +00:00 
			
		
		
		
	style: skip returns
This commit is contained in:
		
							parent
							
								
									45c24538e4
								
							
						
					
					
						commit
						9e25e00a69
					
				@ -54,15 +54,15 @@ To reset your password please visit the following URL: {}/reset-password/step2/{
 | 
				
			|||||||
Please contact an administrator if you did not initiate the process.",
 | 
					Please contact an administrator if you did not initiate the process.",
 | 
				
			||||||
        username, domain, token
 | 
					        username, domain, token
 | 
				
			||||||
    );
 | 
					    );
 | 
				
			||||||
    return send_email(to, "[LLDAP] Password reset requested", body, options).await;
 | 
					    send_email(to, "[LLDAP] Password reset requested", body, options).await
 | 
				
			||||||
}
 | 
					}
 | 
				
			||||||
 | 
					
 | 
				
			||||||
pub async fn send_test_email(to: Mailbox, options: &MailOptions) -> Result<()> {
 | 
					pub async fn send_test_email(to: Mailbox, options: &MailOptions) -> Result<()> {
 | 
				
			||||||
    return send_email(
 | 
					    send_email(
 | 
				
			||||||
        to,
 | 
					        to,
 | 
				
			||||||
        "LLDAP test email",
 | 
					        "LLDAP test email",
 | 
				
			||||||
        "The test is successful! You can send emails from LLDAP".to_string(),
 | 
					        "The test is successful! You can send emails from LLDAP".to_string(),
 | 
				
			||||||
        options,
 | 
					        options,
 | 
				
			||||||
    )
 | 
					    )
 | 
				
			||||||
    .await;
 | 
					    .await
 | 
				
			||||||
}
 | 
					}
 | 
				
			||||||
 | 
				
			|||||||
		Loading…
	
		Reference in New Issue
	
	Block a user