Hi everyone,
I was facing this same issue , the issue was due to cross domain request. when we enable the secure pages the protocol changes to https but username_check module sends ajax request using http so browser rejects this request , and the cycle will not complete .
here is my quick solution to this :
line number 45 of username_check_auto.js
$.ajax({
// url: Drupal.settings.usernameCheck.ajaxUrl,
url: 'https://secure.myprop.com.au/username_check/isunique',
data: {username: Drupal.usernameCheckUsername},
dataType: 'json',
//this is hard coded url but can be made dynamic by checking secure pages module is enabled or not from the variables table .
No comments:
Post a Comment