summaryrefslogtreecommitdiff
path: root/app/Template/twofactor/disable.php
diff options
context:
space:
mode:
Diffstat (limited to 'app/Template/twofactor/disable.php')
-rw-r--r--app/Template/twofactor/disable.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/app/Template/twofactor/disable.php b/app/Template/twofactor/disable.php
index 6909b446..36be4ef9 100644
--- a/app/Template/twofactor/disable.php
+++ b/app/Template/twofactor/disable.php
@@ -8,7 +8,7 @@
</p>
<div class="form-actions">
- <?= $this->a(t('Yes'), 'twofactor', 'disable', array('user_id' => $user['id'], 'disable' => 'yes'), true, 'btn btn-red') ?>
- <?= t('or') ?> <?= $this->a(t('cancel'), 'user', 'show', array('user_id' => $user['id'])) ?>
+ <?= $this->url->link(t('Yes'), 'twofactor', 'disable', array('user_id' => $user['id'], 'disable' => 'yes'), true, 'btn btn-red') ?>
+ <?= t('or') ?> <?= $this->url->link(t('cancel'), 'user', 'show', array('user_id' => $user['id'])) ?>
</div>
</div> \ No newline at end of file