@@ -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 | { |
@@ -31,7 +31,6 @@ |
||
| 31 | 31 | use Rossmitchell\Twofactor\Model\Customer\Customer; |
| 32 | 32 | use Rossmitchell\Twofactor\Model\Customer\Session; |
| 33 | 33 | use Rossmitchell\Twofactor\Model\GoogleTwoFactor\Verify as GoogleVerify; |
| 34 | -use Rossmitchell\Twofactor\Model\TwoFactorUrls; |
|
| 35 | 34 | use Rossmitchell\Twofactor\Model\Urls\Fetcher; |
| 36 | 35 | use Rossmitchell\Twofactor\Model\Verification\IsVerified; |
| 37 | 36 | |