fix logic to force authenticated user to provide email address so it works in static rendering

This commit is contained in:
sbwalker
2024-09-17 17:29:11 -04:00
parent dcf6f26792
commit 40abb2720e
2 changed files with 8 additions and 7 deletions

View File

@ -120,6 +120,7 @@ namespace Oqtane.Controllers
filtered = new User();
// public properties
filtered.SiteId = user.SiteId;
filtered.UserId = user.UserId;
filtered.Username = user.Username;
filtered.DisplayName = user.DisplayName;