One time login password change is also redirected
codemuppet - August 4, 2009 - 19:47
| Project: | Front Page |
| Version: | 6.x-1.x-dev |
| Component: | Code |
| Category: | feature request |
| Priority: | normal |
| Assigned: | Unassigned |
| Status: | needs review |
Jump to:
Description
Would it be possible to specify paths that would not be redirected e.g user/xxxxx/edit, currently the change password redirect is being ignored after using the one time login feature.

#1
I do have the same problem... working on a patch
#2
<?phpfunction front_page_user($op, &$edit, &$account, $category = NULL){
if($op == 'load'){
if(!$account->login && $account->uid != 0 && $account->access && arg(5) == 'login'){
drupal_set_message(t('This is your first login. Make sure to !url first.',array('!url'=>l(t('modify your password'),'user/'.$account->uid.'/edit'))));
}
}
}
?>
#3
thanks for the patch rapsli. I'll aim to include this in the next update of the module (for version 7.x)