Posted by annakozy on February 3, 2009 at 4:36pm
Jump to:
| Project: | Automated Logout |
| Version: | 6.x-2.x-dev |
| Component: | Code |
| Category: | feature request |
| Priority: | normal |
| Assigned: | Unassigned |
| Status: | active |
Issue Summary
I have a customized logout function, I used hook_menu_alter to replace the callback, but the problem I faced is that I cant use it with autologout module, because it calls user_logout directly.
Is it possible to use drupal_goto("logout") instead?
Comments
#1
Subscribing.
#2
Moved to the current dev head.
#3
Not sure what you put in your custom function, but did you implement hook_user's logout op?
It would be the typical drupal way to do something at logout.
If you were redirecting to a new url, I just committed a patch for user-defined url's?