fix 2fa challenge page wording

This commit is contained in:
Christoph Wurst 2016-08-27 11:10:36 +02:00
parent dc57b89f37
commit c93c5d142e
No known key found for this signature in database
GPG Key ID: CC42AC2A7F0E56D8
2 changed files with 2 additions and 3 deletions

View File

@ -19,4 +19,4 @@
<?php endforeach; ?>
</ul>
</fieldset>
<a class="two-factor-cancel" <?php print_unescaped($_['logout_attribute']); ?>><?php p($l->t('Cancel login')) ?></a>
<a class="two-factor-cancel" <?php print_unescaped($_['logout_attribute']); ?>><?php p($l->t('Cancel log in')) ?></a>

View File

@ -11,10 +11,9 @@ $template = $_['template'];
<div class="warning">
<h2><?php p($provider->getDisplayName()); ?></h2>
<p><?php p($l->t('Please authenticate using the selected factor.')) ?></p>
<?php if ($error): ?>
<p><?php p($l->t('An error occured while verifying the token')); ?></p>
<?php endif; ?>
<?php print_unescaped($template); ?>
</div>
<a class="two-factor-cancel" <?php print_unescaped($_['logout_attribute']); ?>><?php p($l->t('Cancel login')) ?></a>
<a class="two-factor-cancel" <?php print_unescaped($_['logout_attribute']); ?>><?php p($l->t('Cancel log in')) ?></a>