fmt: smol cleanup
This commit is contained in:
parent
48eb7edee1
commit
0c4627c036
2 changed files with 2 additions and 37 deletions
|
@ -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
|
// pull from wolves csv
|
||||||
for user in from_csv(config).await.unwrap_or_default() {
|
for user in from_csv(config).await.unwrap_or_default() {
|
||||||
users_tmp.insert(user);
|
users_tmp.insert(user);
|
||||||
|
|
32
src/main.rs
32
src/main.rs
|
@ -27,34 +27,6 @@ async fn main() -> tide::Result<()> {
|
||||||
Ok(())
|
Ok(())
|
||||||
}
|
}
|
||||||
|
|
||||||
/* Create new account
|
/*
|
||||||
|
Password reset via email
|
||||||
|
|
||||||
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
|
|
||||||
|
|
||||||
*/
|
*/
|
||||||
|
|
Loading…
Reference in a new issue