/** * Constructor * * Instantiate the auth object * * @param int $encryption * @param string $salt */ public function __construct($encryption = Authentication\Auth::ENCRYPT_MD5, $salt = null) { $adapter = new Authentication\Adapter\Table('LaceCart\\Backend\\Admin', $encryption); $adapter->setUsernameField('email')->setPasswordField('password'); parent::__construct($adapter, $encryption); }