Skip to content
Snippets Groups Projects
Commit a2e53ccc authored by Yann Leboulanger's avatar Yann Leboulanger
Browse files

fix creation of account on server that supports dataforms

parent 28878b11
No related branches found
No related tags found
No related merge requests found
...@@ -1114,7 +1114,7 @@ class Connection(ConnectionHandlers): ...@@ -1114,7 +1114,7 @@ class Connection(ConnectionHandlers):
def send_new_account_infos(self, form, is_form): def send_new_account_infos(self, form, is_form):
if is_form: if is_form:
# Get username and password and put them in new_account_info # 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': if field.var == 'username':
self.new_account_info['name'] = field.value self.new_account_info['name'] = field.value
if field.var == 'password': if field.var == 'password':
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment