equal
deleted
inserted
replaced
174 |
174 |
175 if form.is_valid(): |
175 if form.is_valid(): |
176 new_link_id = form.cleaned_data.get('link_id') |
176 new_link_id = form.cleaned_data.get('link_id') |
177 properties = { |
177 properties = { |
178 'link_id': new_link_id, |
178 'link_id': new_link_id, |
179 'name': form.cleaned_data.get("name"), |
179 'name': form.cleaned_data.get('name'), |
180 'account': account, |
180 'account': account, |
|
181 'agrees_to_tos': form.cleaned_data.get('agrees_to_tos'), |
181 } |
182 } |
182 |
183 |
183 # check if user account is not in former_accounts |
184 # check if user account is not in former_accounts |
184 # if it is show error message that account is invalid |
185 # if it is show error message that account is invalid |
185 if user_logic.logic.isFormerAccount(account): |
186 if user_logic.logic.isFormerAccount(account): |