feat: new route to reminder users of their username via email.

Closes #14
This commit is contained in:
silver 2023-08-13 17:47:51 +01:00
parent d722de1493
commit be4fadd84d
3 changed files with 127 additions and 1 deletions

View file

@ -30,6 +30,7 @@ async fn main() -> tide::Result<()> {
// for folks who forget password/username
app.at("/ldap/recover/password").post(account_recover::password::reset);
app.at("/ldap/recover/password/auth").post(account_recover::password::auth);
app.at("/ldap/recover/username").post(account_recover::username::submit);
app.listen(host_port).await?;
Ok(())