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?
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
Comment #1
Leeteq commentedSubscribing.
Comment #2
jvandervort commentedMoved to the current dev head.
Comment #3
jvandervort commentedNot 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?
Comment #4
johnennew commentedNot sure what the issue is here. Can you try the latest 4 branches of the module?