summaryrefslogtreecommitdiff
path: root/ishtar_common
diff options
context:
space:
mode:
Diffstat (limited to 'ishtar_common')
-rw-r--r--ishtar_common/wizards.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/ishtar_common/wizards.py b/ishtar_common/wizards.py
index 29496d21b..d00766978 100644
--- a/ishtar_common/wizards.py
+++ b/ishtar_common/wizards.py
@@ -1157,7 +1157,8 @@ class AccountWizard(Wizard):
now = datetime.datetime.now()
account = models.IshtarUser(
person=person, username=dct['username'], email=dct['email'],
- first_name=person.surname, last_name=person.name,
+ first_name=person.surname or '***',
+ last_name=person.name or '***',
is_staff=False, is_active=True, is_superuser=False,
last_login=now, date_joined=now)
if dct['password']: