mirror of
https://github.com/delight-im/PHP-Auth.git
synced 2025-08-04 07:07:25 +02:00
Improve language
This commit is contained in:
@@ -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() {
|
||||
if (isset($_SESSION) && isset($_SESSION[self::SESSION_FIELD_USERNAME])) {
|
||||
|
Reference in New Issue
Block a user