diff --git a/Oqtane.Server/Infrastructure/UserManager.cs b/Oqtane.Server/Infrastructure/UserManager.cs index b83d00bd..e23cd12d 100644 --- a/Oqtane.Server/Infrastructure/UserManager.cs +++ b/Oqtane.Server/Infrastructure/UserManager.cs @@ -116,6 +116,7 @@ namespace Oqtane.Infrastructure if (succeeded) { + user.DisplayName = (user.DisplayName == null) ? user.Username : user.DisplayName; user.LastLoginOn = null; user.LastIPAddress = ""; User = _users.AddUser(user);