Skip to content

Commit 8abdc0c

Browse files
committed
Bug-fix.
Changelog excerpt: - Page tip greeting wasn't correctly showing the username when at the awaiting 2FA code page; Fixed.
1 parent a336fad commit 8abdc0c

File tree

2 files changed

+8
-2
lines changed

2 files changed

+8
-2
lines changed

Changelog.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -219,3 +219,8 @@ __*Why "v3.0.0" instead of "v1.0.0?"*__ Prior to phpMussel v3, the "phpMussel Co
219219
- [2025.10.22]: Some sticky elements now have their own scroll context.
220220
- [2025.11.02]: Some minor refactoring.
221221
- [2025.11.21]: Added PHP 8.5 to workflows.
222+
223+
### v3.7.2
224+
225+
#### Bugs fixed.
226+
- [2025.12.27]: Page tip greeting wasn't correctly showing the username when at the awaiting 2FA code page; Fixed.

src/FrontEnd.php

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
* License: GNU/GPLv2
99
* @see LICENSE.txt
1010
*
11-
* This file: Front-end handler (last modified: 2025.11.02).
11+
* This file: Front-end handler (last modified: 2025.12.27).
1212
*/
1313

1414
namespace phpMussel\FrontEnd;
@@ -506,7 +506,8 @@ public function view(string $Page = ''): void
506506
$LoggerMessage = $FE['state_msg'];
507507
}
508508
} elseif ($this->Permissions === 3) {
509-
$LoggerMessage = $this->Loader->L10N->getString('label.label.Logged in, 2FA pending');
509+
$this->User = $TryUser;
510+
$LoggerMessage = $this->Loader->L10N->getString('label.Logged in, 2FA pending');
510511
} else {
511512
$this->User = $TryUser;
512513
$LoggerMessage = $this->Loader->L10N->getString('label.Logged in');

0 commit comments

Comments
 (0)