public function getUserName() vs public function getUserDisplayName()
Permalink
In the class UserInfo located in concrete5/concrete/src/User/UserInfo.php there is both getUserName() and getUserDisplayName() which both return $this->entity->getUserName(); and i ask me why ?
For a news package i need to publish the author name and publishing the UserName, so the Login is not a good idea for security reasons.
Would it be usefull to change the getUserDisplayName() function to return a something like a userPublicName ?
For a news package i need to publish the author name and publishing the UserName, so the Login is not a good idea for security reasons.
Would it be usefull to change the getUserDisplayName() function to return a something like a userPublicName ?