mirror of
https://github.com/e107inc/e107.git
synced 2025-08-10 16:46:50 +02:00
Login handler rework, alt_auth changes, preparing for Magento authorization option. Could produce some temporary problems
This commit is contained in:
@@ -829,6 +829,8 @@ if ((e_QUERY == 'logout')/* || (($pref['user_tracking'] == 'session') && isset($
|
||||
}
|
||||
|
||||
cookie(e_COOKIE, '', (time() - 2592000));
|
||||
e107::getUser()->logout();
|
||||
|
||||
e107::getEvent()->trigger('logout');
|
||||
e107::getRedirect()->redirect(SITEURL.'index.php');
|
||||
// header('location:'.e_BASE.'index.php');
|
||||
|
Reference in New Issue
Block a user