bugfix: username was not written to database

This commit is contained in:
Benni Baermann 2021-01-04 16:19:26 +01:00
parent b5e0dbdd44
commit 8d8216fafb

View file

@ -204,7 +204,7 @@ class ExternView(CookieWizardView):
# we have to copy the data from the first form here # we have to copy the data from the first form here
# this is a bit ugly code. can we copy this without explicit writing? # this is a bit ugly code. can we copy this without explicit writing?
modell.realname = data['realname'] modell.realname = data['realname']
# form.username = data['username'] modell.username = data['username']
modell.email = data['email'] modell.email = data['email']
# write type of form in some cases # write type of form in some cases
if data['choice'] in ('BIB', 'ELIT', 'SOFT'): if data['choice'] in ('BIB', 'ELIT', 'SOFT'):