Skip to content

Commit

Permalink
Merge pull request #4253 from zyhfish/task/fix-issue-4252
Browse files Browse the repository at this point in the history
Fix #4252: do not reset the user photo setting when edit the user.
  • Loading branch information
sbwalker authored May 13, 2024
2 parents 7af26a3 + 434cd13 commit a54e6e7
Showing 1 changed file with 0 additions and 5 deletions.
5 changes: 0 additions & 5 deletions Oqtane.Client/Modules/Admin/Users/Edit.razor
Original file line number Diff line number Diff line change
Expand Up @@ -226,11 +226,6 @@
user.Password = _password;
user.Email = email;
user.DisplayName = string.IsNullOrWhiteSpace(displayname) ? username : displayname;
user.PhotoFileId = null;
if (user.PhotoFileId == -1)
{
user.PhotoFileId = null;
}

user.IsDeleted = (isdeleted == null ? true : Boolean.Parse(isdeleted));

Expand Down

0 comments on commit a54e6e7

Please sign in to comment.