@@ -31,17 +31,17 @@ |
||
| 31 | 31 | <li> |
| 32 | 32 | <a class="two-factor-provider" |
| 33 | 33 | href="<?php p(\OC::$server->getURLGenerator()->linkToRoute('core.TwoFactorChallenge.setupProvider', |
| 34 | - [ |
|
| 35 | - 'providerId' => $provider->getId(), |
|
| 36 | - ] |
|
| 37 | - )) ?>"> |
|
| 34 | + [ |
|
| 35 | + 'providerId' => $provider->getId(), |
|
| 36 | + ] |
|
| 37 | + )) ?>"> |
|
| 38 | 38 | <?php |
| 39 | - if ($provider instanceof \OCP\Authentication\TwoFactorAuth\IProvidesIcons) { |
|
| 40 | - $icon = $provider->getLightIcon(); |
|
| 41 | - } else { |
|
| 42 | - $icon = image_path('core', 'actions/password-white.svg'); |
|
| 43 | - } |
|
| 44 | - ?> |
|
| 39 | + if ($provider instanceof \OCP\Authentication\TwoFactorAuth\IProvidesIcons) { |
|
| 40 | + $icon = $provider->getLightIcon(); |
|
| 41 | + } else { |
|
| 42 | + $icon = image_path('core', 'actions/password-white.svg'); |
|
| 43 | + } |
|
| 44 | + ?> |
|
| 45 | 45 | <img src="<?php p($icon) ?>" alt="" /> |
| 46 | 46 | <div> |
| 47 | 47 | <h3><?php p($provider->getDisplayName()) ?></h3> |