From fe0ff913de30452bdcdf5c1eab78a275ecc45c78 Mon Sep 17 00:00:00 2001 From: Jonathan Styles Date: Thu, 22 Aug 2024 21:43:32 -0400 Subject: [PATCH] fixed usernames ending in period --- app/util/approve.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/util/approve.py b/app/util/approve.py index e324f65..6452c93 100644 --- a/app/util/approve.py +++ b/app/util/approve.py @@ -28,7 +28,7 @@ def __init__(self): pass def provision_infra(member_id: uuid.UUID, user_data): - username = user_data.discord.username[:20] + username = user_data.discord.username[:20].rstrip(".") password = HorsePass.gen() admin = KeycloakAdmin( server_url=Settings().keycloak.url,