@@ -10,11 +10,15 @@ discard block |
||
10 | 10 | <p> |
11 | 11 | <?php if (is_null($_['backupProvider'])): ?> |
12 | 12 | <strong><?php p($l->t('Two-factor authentication is enforced but has not been configured on your account. Contact your admin for assistance.')) ?></strong> |
13 | - <?php else: ?> |
|
13 | + <?php else { |
|
14 | + : ?> |
|
14 | 15 | <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> |
15 | - <?php endif; ?> |
|
16 | + <?php endif; |
|
17 | +} |
|
18 | +?> |
|
16 | 19 | </p> |
17 | - <?php else: ?> |
|
20 | + <?php else { |
|
21 | + : ?> |
|
18 | 22 | <p> |
19 | 23 | <ul> |
20 | 24 | <?php foreach ($_['providers'] as $provider): ?> |
@@ -29,7 +33,9 @@ discard block |
||
29 | 33 | <?php p($provider->getDescription()) ?> |
30 | 34 | </a> |
31 | 35 | </li> |
32 | - <?php endforeach; ?> |
|
36 | + <?php endforeach; |
|
37 | +} |
|
38 | +?> |
|
33 | 39 | </ul> |
34 | 40 | </p> |
35 | 41 | <?php endif ?> |