Thread:Extension talk:GoogleLogin/Unable to get domain restriction working on Google Login

Hi! I've trying to get $wgGLAllowedDomains working... Don't know why but everything works perfect, but the restrcition is not.

I Have this settings on LocalSettings:

$wgGroupPermissions['*']['read'] = false; $wgWhitelistRead = array( 'Special:GoogleLogin' );
 * 1) Private Wiki

$wgGroupPermissions['*']['createaccount'] = false; $wgGLAllowAccountCreation = true;
 * 1) No account creation

In GoogleLogin.php

$wgGLAllowedDomains = array( 'mydomain.org' ); $wgGLAllowAccountCreation = $wgGroupPermissions['*']['createaccount'];

I have follow the instructions in perfect orden and detail if I don't activate $wgGLAllowedDomains everything works like a charm. What should I do?