aboutsummaryrefslogtreecommitdiff
path: root/app/controllers/tfa.php
diff options
context:
space:
mode:
Diffstat (limited to 'app/controllers/tfa.php')
-rw-r--r--app/controllers/tfa.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/controllers/tfa.php b/app/controllers/tfa.php
index 370d883..86ece64 100644
--- a/app/controllers/tfa.php
+++ b/app/controllers/tfa.php
@@ -13,7 +13,7 @@ class TfaController extends AuthenticatedController
$this->own_profile = true;
- if ($this->is_root && Request::submitted('username')) {
+ if ($this->is_root && Request::has('username')) {
$username = Request::username('username');
$this->user = User::findOneByUsername($username);