diff --git a/src/main.rs b/src/main.rs index f8be045..08682d3 100644 --- a/src/main.rs +++ b/src/main.rs @@ -151,3 +151,36 @@ async fn post_update_ldap(mut req: Request) -> tide::Result { Ok(json!({"result": "success"}).into()) } + + +/** Create new account + + + 1. Check if ID is available + 2. Ask user to fill in: + * uid + * First Name + * Surname Name + * Wolves email + 3. Email + link is sent to wolves email + * only if its paid up and it hasn't been used before + 4. Ldap entry created + 5. Email with initial pw is sent to user + 6. Account added to skynet-users (they are paid up) + + */ + +/** Join existing account to wolves + related to above + + */ + +/** Password reset via email + + */ + +/** script to pull in all active members from wolves + update the groups + check if there are any pending signups + + */