From 0c4627c03655561ef969fd11092dd80f73d5983f Mon Sep 17 00:00:00 2001 From: Brendan Golden Date: Sun, 30 Jul 2023 05:20:08 +0100 Subject: [PATCH] fmt: smol cleanup --- src/bin/update_groups.rs | 7 ------- src/main.rs | 32 ++------------------------------ 2 files changed, 2 insertions(+), 37 deletions(-) diff --git a/src/bin/update_groups.rs b/src/bin/update_groups.rs index f113434..e1c4e9d 100644 --- a/src/bin/update_groups.rs +++ b/src/bin/update_groups.rs @@ -26,13 +26,6 @@ async fn update_users(config: &Config) -> tide::Result<()> { } } - /* - pull in data from wolves (csv or api (hopefully api) - pull entire ldap data - - for every valid user in wolves match to ldap - add to users - */ // pull from wolves csv for user in from_csv(config).await.unwrap_or_default() { users_tmp.insert(user); diff --git a/src/main.rs b/src/main.rs index 5b96b59..9cd988f 100644 --- a/src/main.rs +++ b/src/main.rs @@ -27,34 +27,6 @@ async fn main() -> tide::Result<()> { Ok(()) } -/* 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 - +/* +Password reset via email */