feat: new route to reminder users of their username via email.
Closes #14
This commit is contained in:
parent
d722de1493
commit
be4fadd84d
3 changed files with 127 additions and 1 deletions
|
@ -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(())
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue