mirror of
https://github.com/e107inc/e107.git
synced 2025-08-15 19:14:09 +02:00
Login handler rework, alt_auth changes, preparing for Magento authorization option. Could produce some temporary problems
This commit is contained in:
@@ -2,7 +2,7 @@
|
||||
/*
|
||||
* e107 website system
|
||||
*
|
||||
* Copyright (C) 2008-2010 e107 Inc (e107.org)
|
||||
* Copyright (C) 2008-2011 e107 Inc (e107.org)
|
||||
* Released under the terms and conditions of the
|
||||
* GNU General Public License (http://www.gnu.org/licenses/gpl.txt)
|
||||
*
|
||||
@@ -1019,7 +1019,9 @@ class e_user extends e_user_model
|
||||
{
|
||||
if($this->isUser()) return false;
|
||||
|
||||
$userlogin = new userlogin($uname, $upass_plain, $uauto, $uchallange, $noredirect);
|
||||
$userlogin = new userlogin();
|
||||
$userlogin->login($uname, $upass_plain, $uauto, $uchallange, $noredirect);
|
||||
|
||||
$this->setSessionData(true)
|
||||
->setData($userlogin->getUserData());
|
||||
|
||||
|
Reference in New Issue
Block a user