@@ -95,6 +95,9 @@ |
||
| 95 | 95 | return $this->getSelectedSnippet($customer, false); |
| 96 | 96 | } |
| 97 | 97 | |
| 98 | + /** |
|
| 99 | + * @param boolean $condition |
|
| 100 | + */ |
|
| 98 | 101 | private function getSelectedSnippet(CustomerInterface $customer, $condition) |
| 99 | 102 | { |
| 100 | 103 | $html = ''; |
@@ -27,7 +27,6 @@ |
||
| 27 | 27 | use Rossmitchell\Twofactor\Model\Config\Customer as CustomerConfig; |
| 28 | 28 | use Rossmitchell\Twofactor\Model\Customer\Attribute\IsUsingTwoFactor; |
| 29 | 29 | use Rossmitchell\Twofactor\Model\Customer\Customer; |
| 30 | -use Rossmitchell\Twofactor\Model\Customer\UsingTwoFactor; |
|
| 31 | 30 | |
| 32 | 31 | class UseTwoFactor extends Template |
| 33 | 32 | { |
@@ -21,7 +21,6 @@ |
||
| 21 | 21 | |
| 22 | 22 | namespace Rossmitchell\Twofactor\Controller\Adminhtml\Adminlogin; |
| 23 | 23 | |
| 24 | -use Magento\Backend\App\Action; |
|
| 25 | 24 | use Magento\Backend\App\Action\Context; |
| 26 | 25 | use Magento\Framework\App\ResponseInterface; |
| 27 | 26 | use PragmaRX\Google2FA\Exceptions\InvalidCharactersException; |