function hook_post_auto_login_url in Auto Login URL 7
Hook that runs after login.
Parameters
object $user: User to login.
string $destination: Destination link after login.
1 invocation of hook_post_auto_login_url()
- _auto_login_url_page in ./
auto_login_url.module - Auto login the user.
File
- ./
auto_login_url.api.php, line 30 - Hooks provided by the auto_login_url module.
Code
function hook_post_auto_login_url($user, $destination) {
watchdog('my_module', 'User @user, destination @destination', array(
'@user' => $user->id,
'@destination' => $destination,
));
}