summaryrefslogtreecommitdiff
path: root/app/Template/twofactor/index.php
diff options
context:
space:
mode:
Diffstat (limited to 'app/Template/twofactor/index.php')
-rw-r--r--app/Template/twofactor/index.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/app/Template/twofactor/index.php b/app/Template/twofactor/index.php
index 6e701273..6de36514 100644
--- a/app/Template/twofactor/index.php
+++ b/app/Template/twofactor/index.php
@@ -7,9 +7,9 @@
<p><?= t('Two-Factor Provider: ') ?><strong><?= $this->text->e($provider) ?></strong></p>
<div class="form-actions">
<?php if ($user['twofactor_activated'] == 1): ?>
- <input type="submit" value="<?= t('Disable two-factor authentication') ?>" class="btn btn-red"/>
+ <button type="submit" class="btn btn-red"><?= t('Disable two-factor authentication') ?></button>
<?php else: ?>
- <input type="submit" value="<?= t('Enable two-factor authentication') ?>" class="btn btn-blue"/>
+ <button type="submit" class="btn btn-blue"><?= t('Enable two-factor authentication') ?></button>
<?php endif ?>
</div>
</form>