Enabling the module by default on installation does not help as the key value pair is not set. So it is better to install the module and keep the state as disabled.

Comments

anoopjohn created an issue. See original summary.

mohit.bansal623’s picture

@anoopjohn, this issue as far as my understanding it is trying to say that on installation it is automatically gets enabled. But it is not so, there is no module_enable written and of course how after installation automatic the module can be enabled.

Does it mean to set this variable value to 0 instead of 1.
variable_set('disable_login', '1')

anoopjohn’s picture

Have made this change and pushed to dev.

anoopjohn’s picture

Status: Active » Fixed

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.