@@ -14,7 +14,7 @@ |
||
| 14 | 14 | <div class="warning"> |
| 15 | 15 | <h2 class="two-factor-header"><?php p($provider->getDisplayName()); ?></h2> |
| 16 | 16 | <?php if ($error): ?> |
| 17 | - <?php if($error_message): ?> |
|
| 17 | + <?php if ($error_message): ?> |
|
| 18 | 18 | <p><strong><?php p($error_message); ?></strong></p> |
| 19 | 19 | <?php else: ?> |
| 20 | 20 | <p><strong><?php p($l->t('Error while validating your second factor')); ?></strong></p> |
@@ -16,8 +16,11 @@ |
||
| 16 | 16 | <?php if ($error): ?> |
| 17 | 17 | <?php if($error_message): ?> |
| 18 | 18 | <p><strong><?php p($error_message); ?></strong></p> |
| 19 | - <?php else: ?> |
|
| 20 | - <p><strong><?php p($l->t('Error while validating your second factor')); ?></strong></p> |
|
| 19 | + <?php else { |
|
| 20 | + : ?> |
|
| 21 | + <p><strong><?php p($l->t('Error while validating your second factor')); |
|
| 22 | +} |
|
| 23 | +?></strong></p> |
|
| 21 | 24 | <?php endif; ?> |
| 22 | 25 | <?php endif; ?> |
| 23 | 26 | <?php print_unescaped($template); ?> |