1
0
mirror of https://github.com/delight-im/PHP-Auth.git synced 2025-08-04 15:17:28 +02:00

Improve language

This commit is contained in:
Marco
2025-05-22 21:08:37 +02:00
parent e6c827cd79
commit f1d2476fb9

View File

@@ -2308,9 +2308,9 @@ final class Auth extends UserManager {
} }
/** /**
* Returns the currently signed-in user's display name by reading from the session * Returns the currently signed-in user's username by reading from the session
* *
* @return string the display name * @return string the username
*/ */
public function getUsername() { public function getUsername() {
if (isset($_SESSION) && isset($_SESSION[self::SESSION_FIELD_USERNAME])) { if (isset($_SESSION) && isset($_SESSION[self::SESSION_FIELD_USERNAME])) {