Source for file UserLogout.php
Documentation is available at UserLogout.php
* @license http://opensource.org/licenses/mozilla1.1.php Mozilla Public License
* @copyright 2005, diemeisterei GmbH. All rights reserved.
* @author $Author: schmunk $
* @version $Revision: 601 $ $Date: 2007-02-24 23:49:30 +0100 (Sa, 24 Feb 2007) $
* @package Phundament.Components
* @subpackage Authentication
public function onInit($param)
parent :: onInit($param);
$this->Application->getModule('auth')->logout();
$this->Session['Lithron:User:IsLoggedIn'] = false;
#$this->Response->redirect($this->Service->constructUrl($this->Service->getDefaultPage()));
$url= $this->Service->constructUrl("packages.UserLogin");
$this->Response->redirect($url);
|