From a290ba8c9fcbb748b2c5c17a3150f945648ea5da Mon Sep 17 00:00:00 2001 From: Patrick Mayr Date: Fri, 27 Oct 2023 06:17:40 +0000 Subject: [PATCH] set nickname if a member is created --- fet2020/authentications/authentications.py | 1 + 1 file changed, 1 insertion(+) diff --git a/fet2020/authentications/authentications.py b/fet2020/authentications/authentications.py index f511436c..0f6a8d17 100644 --- a/fet2020/authentications/authentications.py +++ b/fet2020/authentications/authentications.py @@ -58,6 +58,7 @@ def authentication(username, password): member.firstname = firstname member.surname = surname member.username = username + member.nickname = username member.mailaccount = mail logger.info(f"Member '{username}' created.") member.save()