Add count stats

This commit is contained in:
decentral1se 2021-06-18 09:26:37 +02:00
parent ad8aa8a5ba
commit 4bef39c728
Signed by: decentral1se
GPG Key ID: 92DAD76BD9567B8A
1 changed files with 3 additions and 0 deletions

View File

@ -42,6 +42,7 @@ with open("accounts.txt") as handle:
print(f"Parsed {emails} from accounts.txt")
keycloak = init_keycloak()
print(f"Current user account count: {keycloak.users_count()}")
for email in emails:
username = email.split("@")[0].strip()
@ -69,3 +70,5 @@ for email in emails:
if not confirm():
print("Bailing out on request...")
exit(1)
print(f"Final user account count: {keycloak.users_count()}")