Skip to content

Commit

Permalink
feat(ui): add cancel button on 2fa code validation screen
Browse files Browse the repository at this point in the history
  • Loading branch information
fguillot committed Oct 26, 2024
1 parent d083418 commit cdd2b60
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions app/Template/twofactor/check.php
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,8 @@

<div class="form-actions">
<button type="submit" class="btn btn-blue"><?= t('Check my code') ?></button>
<?= t('or') ?>
<?= $this->url->link(t('cancel'), 'AuthController', 'logout', [], true) ?>
</div>
</form>
</section>

0 comments on commit cdd2b60

Please sign in to comment.