summaryrefslogtreecommitdiff
path: root/app/Template/twofactor/check.php
diff options
context:
space:
mode:
Diffstat (limited to 'app/Template/twofactor/check.php')
-rw-r--r--app/Template/twofactor/check.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/Template/twofactor/check.php b/app/Template/twofactor/check.php
index 0e29d526..68a58a6c 100644
--- a/app/Template/twofactor/check.php
+++ b/app/Template/twofactor/check.php
@@ -1,4 +1,4 @@
-<form method="post" action="<?= $this->url->href('twofactor', 'check', array('user_id' => $this->userSession->getId())) ?>" autocomplete="off">
+<form method="post" action="<?= $this->url->href('twofactor', 'check', array('user_id' => $this->user->getId())) ?>" autocomplete="off">
<?= $this->form->csrf() ?>
<?= $this->form->label(t('Code'), 'code') ?>