fix creation of account on server that supports dataforms

This commit is contained in:
Yann Leboulanger 2007-12-15 12:41:39 +00:00
parent 28878b111d
commit a2e53ccc5c
1 changed files with 1 additions and 1 deletions

View File

@ -1114,7 +1114,7 @@ class Connection(ConnectionHandlers):
def send_new_account_infos(self, form, is_form):
if is_form:
# Get username and password and put them in new_account_info
for field in self._data_form.iter_fields():
for field in form.iter_fields():
if field.var == 'username':
self.new_account_info['name'] = field.value
if field.var == 'password':