deeseecee wrote:I had a look at the code of Forum_XH and my guess is that something in the 'private function user()' in MainController.php (lines 316 ff.) should be changed.
Yes, indeed. Use "fullname" instead of "username".
However, I don't think that it is a good idea to store all information regarding the current user in the session, because that easily leads to issues like https://github.com/cmb69/register_xh/issues/9. Instead, it is better to store only the user's ID (can be the username) in the session, and to read further information from the user database (and to bail out if there is no such user). Doing this in a portable way would require a respective API, though.