The link to create a new account needs to be removed when it is not possible to create a new account.

Maybe changing line 82 to
if (variable_get('user_register') == 1 && user_register_access()):

Comments

3cwebdev’s picture

Status: Active » Closed (cannot reproduce)

Thank you for the information. I have tested and, unless I'm missing something, the module works as expected. This module uses the user_register_access() function which in turn checks the user_register variable (see link below). This appears to be the standard way to check if the registration functionality is active and my tests have shown expected results. If you feel there is still a bug please re-open this issue and provide steps to reproduce.

https://api.drupal.org/api/drupal/modules%21user%21user.module/function/...