Hi, I'm trying to redirect any logged user attempts to access /user. In my module I've the next code to redirect after login:
function ccmm_user($op, &$edit, &$account, &$category = NULL)
{
switch($op){
case 'login':
$_REQUEST['destination'] = 'admin/';
break;
}
}
And this is working great.. then I try with case 'view': but it's useless :-/ why?
Any comment will be appreciated, thanks