summaryrefslogtreecommitdiff
path: root/app/Template
diff options
context:
space:
mode:
Diffstat (limited to 'app/Template')
-rw-r--r--app/Template/task/comments.php2
-rw-r--r--app/Template/twofactor/check.php2
2 files changed, 2 insertions, 2 deletions
diff --git a/app/Template/task/comments.php b/app/Template/task/comments.php
index f81e0dc9..a09862f9 100644
--- a/app/Template/task/comments.php
+++ b/app/Template/task/comments.php
@@ -18,7 +18,7 @@
<?= $this->render('comment/create', array(
'skip_cancel' => true,
'values' => array(
- 'user_id' => $this->userSession->getId(),
+ 'user_id' => $this->user->getId(),
'task_id' => $task['id'],
),
'errors' => array(),
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') ?>