feat: handle the receiving of the token
This commit is contained in:
parent
3a5b96c4d9
commit
4bdfa09ee3
3 changed files with 83 additions and 1 deletions
|
@ -3,6 +3,7 @@ use skynet_ldap_backend::{
|
|||
methods::{
|
||||
account_new::post::{account, email},
|
||||
account_update::post_update_ldap,
|
||||
password_reset::{post_password_auth, post_password_reset},
|
||||
},
|
||||
State,
|
||||
};
|
||||
|
@ -26,6 +27,8 @@ async fn main() -> tide::Result<()> {
|
|||
app.at("/ldap/update").post(post_update_ldap);
|
||||
app.at("/ldap/new/email").post(email::submit);
|
||||
app.at("/ldap/new/account").post(account::submit);
|
||||
app.at("/ldap/reset").post(post_password_reset);
|
||||
app.at("/ldap/reset/auth").post(post_password_auth);
|
||||
|
||||
app.listen(host_port).await?;
|
||||
Ok(())
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue