function securelogin_install in Secure Login 7
Same name and namespace in other branches
- 8 securelogin.install \securelogin_install()
Implements hook_install().
File
- ./
securelogin.install, line 11 - Install, update and uninstall functions for Secure Login module.
Code
function securelogin_install() {
// Enable a basic secure login configuration by default.
variable_set('securelogin_form_user_login', 1);
variable_set('securelogin_form_user_login_block', 1);
variable_set('securelogin_form_user_pass', 1);
variable_set('securelogin_form_user_pass_reset', 1);
variable_set('securelogin_form_user_register_form', 1);
}