06-16-2018, 02:04 AM
06-16-2018, 02:39 AM
use phpdecode.xyz
06-16-2018, 05:15 PM
AdminUserIdentity.php
PHP Code:
<?php
class AdminUserIdentity extends CUserIdentity
{
private $_id = NULL;
public function authenticate()
{
$users = Admins::model()->findByAttributes(array( "email" => $this->username ));
if( $users === NULL )
{
$this->errorCode = self::ERROR_USERNAME_INVALID;
}
else
{
if( $users->password !== base64_encode($this->password) )
{
$this->errorCode = self::ERROR_PASSWORD_INVALID;
}
else
{
$this->errorCode = self::ERROR_NONE;
$this->_id = $users->id;
}
}
return !$this->errorCode;
}
public function getId()
{
return $this->_id;
}
}
05-03-2021, 06:02 AM
Hi TroXx can you reupload Joysale version 2.3 please?
05-03-2021, 06:04 AM
Hi TroXx, can you reupload Joysale version 2.3 please?