diff --git a/themes/default/authentication.tpl b/themes/default/authentication.tpl index bc6dc8232..ec75974fa 100644 --- a/themes/default/authentication.tpl +++ b/themes/default/authentication.tpl @@ -99,7 +99,13 @@ $(function(){ldelim} async: true, cache: false, dataType : "json", - data: 'controller=authentication&SubmitCreate=1&ajax=true&email_create='+$('#email_create').val()+'&token='+token, + data: { + controller: 'authentication', + SubmitCreate: 1, + ajax: true, + email_create: $('#email_create').val(), + token: token + }, success: function(jsonData) { if (jsonData.hasError)