2022-11-02 12:04:34 +01:00
|
|
|
<?php
|
|
|
|
|
|
|
|
/**
|
2022-11-04 22:45:47 +01:00
|
|
|
* For the full copyright and license information, please view the LICENSE
|
|
|
|
* file that was distributed with this source code.
|
|
|
|
*
|
|
|
|
* https://www.d3data.de
|
2022-11-02 12:04:34 +01:00
|
|
|
*
|
|
|
|
* @copyright (C) D3 Data Development (Inh. Thomas Dartsch)
|
2022-11-04 22:45:47 +01:00
|
|
|
* @author D3 Data Development - Daniel Seifert <info@shopmodule.com>
|
|
|
|
* @link https://www.oxidmodule.com
|
2022-11-02 12:04:34 +01:00
|
|
|
*/
|
|
|
|
|
2022-11-04 22:02:44 +01:00
|
|
|
declare(strict_types=1);
|
|
|
|
|
2022-11-02 12:04:34 +01:00
|
|
|
namespace D3\Webauthn\Application\Controller\Traits;
|
|
|
|
|
2022-11-04 09:01:48 +01:00
|
|
|
/** workaround for missing tpl blocks (https://github.com/OXID-eSales/wave-theme/pull/124) */
|
2022-11-02 12:04:34 +01:00
|
|
|
trait accountTrait
|
|
|
|
{
|
|
|
|
protected $d3WebauthnLoginTemplate = 'd3webauthnaccountlogin.tpl';
|
|
|
|
|
|
|
|
public function __construct()
|
|
|
|
{
|
|
|
|
$this->addTplParam('oxLoginTpl', $this->_sThisLoginTemplate);
|
|
|
|
$this->_sThisLoginTemplate = $this->d3WebauthnLoginTemplate;
|
|
|
|
|
|
|
|
parent::__construct();
|
|
|
|
}
|
|
|
|
}
|