function bakery_user_login in Bakery Single Sign-On System 7.4
Same name and namespace in other branches
- 8.2 bakery.module \bakery_user_login()
- 7.2 bakery.module \bakery_user_login()
- 7.3 bakery.module \bakery_user_login()
Implements hook_user_login().
File
- ./
bakery.module, line 69
Code
function bakery_user_login(&$edit, $account) {
if (variable_get('bakery_is_master', 0) && isset($account->uid)) {
$init = _bakery_init_field($account->uid);
_bakery_bake_chocolatechip_cookie($account->name, $account->mail, $init);
}
}