diff options
| author | Jan-Hendrik Willms <tleilax+studip@gmail.com> | 2025-09-05 14:47:46 +0200 |
|---|---|---|
| committer | Jan-Hendrik Willms <tleilax+studip@gmail.com> | 2025-09-05 14:47:46 +0200 |
| commit | 4db193c7f7188fe7f5ec64cf758cf2f26f38f96d (patch) | |
| tree | 942ad947842147586512622fc090f7e561d24122 /app/controllers/tfa.php | |
| parent | 31c795a98b14037fcfb1b6f176ebd5f813b292fc (diff) | |
use Request::has()tic-4587
Diffstat (limited to 'app/controllers/tfa.php')
| -rw-r--r-- | app/controllers/tfa.php | 2 |
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); |
