doc: update documentation and comments

This commit is contained in:
silver 2023-08-06 14:43:49 +01:00
parent 9d28d89eee
commit b48a8fc711
2 changed files with 7 additions and 2 deletions

View file

@ -20,9 +20,14 @@ async fn main() -> tide::Result<()> {
let mut app = tide::with_state(state);
// for users to update their own profile
app.at("/ldap/update").post(account_update::submit);
// for new users
app.at("/ldap/new/email").post(account_new::email::submit);
app.at("/ldap/new/account").post(account_new::account::submit);
// 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);