Redirecting to user album after logout
|
wahkun
Joined: 2007-01-22
Posts: 2 |
Posted: Wed, 2007-01-24 03:31
|
|
I have seen this issue brought up one or two times before in this section, but at the end of the thread the solution was not posted. Currently, a user logged in can work on his album, but upon logging out he is sent to the main, top level gallery/album. How might one have the user be returned directly to his own album in guest mode, after logging out? I believe it has something to do with Thanks for your help! |
|
| Login or register to post comments |

Posts: 8598
perhaps change
$results['redirect']['view'] = GALLERY_DEFAULT_VIEW;to
$results['redirect'] = array('controller' => 'useralbum.UserAlbum', 'userId' => $userId);for this to work, also add
$userId = $session->getUserId();just before the $session->reset(); call.