From a2e53ccc5cc54b17797c27863de7d5f711849456 Mon Sep 17 00:00:00 2001 From: Yann Leboulanger Date: Sat, 15 Dec 2007 12:41:39 +0000 Subject: [PATCH] fix creation of account on server that supports dataforms --- src/common/connection.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/common/connection.py b/src/common/connection.py index 9113f4a51..75e851252 100644 --- a/src/common/connection.py +++ b/src/common/connection.py @@ -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':