feat: added verification for the ssh keys

Closes #15
This commit is contained in:
silver 2023-08-19 20:41:07 +01:00
parent f41e0caa74
commit 82d7ca48bb
5 changed files with 104 additions and 7 deletions

View file

@ -32,6 +32,7 @@ async fn main() -> tide::Result<()> {
app.at("/ldap/recover/password/auth").post(account_recover::password::auth);
app.at("/ldap/recover/username").post(account_recover::username::submit);
app.at("/ldap/recover/ssh/request").post(account_recover::ssh::request);
app.at("/ldap/recover/ssh/verify").post(account_recover::ssh::verify);
app.listen(host_port).await?;
Ok(())