@@ -12,11 +12,15 @@ discard block |
||
| 12 | 12 | <p> |
| 13 | 13 | <?php if (is_null($_['backupProvider'])): ?> |
| 14 | 14 | <strong><?php p($l->t('Two-factor authentication is enforced but has not been configured on your account. Contact your admin for assistance.')) ?></strong> |
| 15 | - <?php else: ?> |
|
| 15 | + <?php else { |
|
| 16 | + : ?> |
|
| 16 | 17 | <strong><?php p($l->t('Two-factor authentication is enforced but has not been configured on your account. Use one of your backup codes to log in or contact your admin for assistance.')) ?></strong> |
| 17 | - <?php endif; ?> |
|
| 18 | + <?php endif; |
|
| 19 | +} |
|
| 20 | +?> |
|
| 18 | 21 | </p> |
| 19 | - <?php else: ?> |
|
| 22 | + <?php else { |
|
| 23 | + : ?> |
|
| 20 | 24 | <?php foreach ($_['providers'] as $provider): ?> |
| 21 | 25 | <li> |
| 22 | 26 | <a class="two-factor-provider" |
@@ -29,6 +33,7 @@ discard block |
||
| 29 | 33 | <?php |
| 30 | 34 | if ($provider instanceof \OCP\Authentication\TwoFactorAuth\IProvidesIcons) { |
| 31 | 35 | $icon = $provider->getLightIcon(); |
| 36 | +} |
|
| 32 | 37 | } else { |
| 33 | 38 | $icon = image_path('core', 'actions/password-white.svg'); |
| 34 | 39 | } |