webauthn/src/Application/Controller/Traits/accountTrait.php

30 lignes
833 B
PHP
Brut Vue normale Historique

<?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
*
* @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-04 22:02:44 +01:00
declare(strict_types=1);
namespace D3\Webauthn\Application\Controller\Traits;
/** workaround for missing tpl blocks (https://github.com/OXID-eSales/wave-theme/pull/124) */
trait accountTrait
{
protected $d3WebauthnLoginTemplate = 'd3webauthnaccountlogin.tpl';
public function __construct()
{
$this->addTplParam('oxLoginTpl', $this->_sThisLoginTemplate);
$this->_sThisLoginTemplate = $this->d3WebauthnLoginTemplate;
parent::__construct();
}
}