Add count stats
This commit is contained in:
parent
ad8aa8a5ba
commit
4bef39c728
@ -42,6 +42,7 @@ with open("accounts.txt") as handle:
|
|||||||
print(f"Parsed {emails} from accounts.txt")
|
print(f"Parsed {emails} from accounts.txt")
|
||||||
|
|
||||||
keycloak = init_keycloak()
|
keycloak = init_keycloak()
|
||||||
|
print(f"Current user account count: {keycloak.users_count()}")
|
||||||
|
|
||||||
for email in emails:
|
for email in emails:
|
||||||
username = email.split("@")[0].strip()
|
username = email.split("@")[0].strip()
|
||||||
@ -69,3 +70,5 @@ for email in emails:
|
|||||||
if not confirm():
|
if not confirm():
|
||||||
print("Bailing out on request...")
|
print("Bailing out on request...")
|
||||||
exit(1)
|
exit(1)
|
||||||
|
|
||||||
|
print(f"Final user account count: {keycloak.users_count()}")
|
||||||
|
Loading…
Reference in New Issue
Block a user