This commit is contained in:
Zel
2025-02-24 21:03:14 +08:00
parent ee2b58d94b
commit 7c66d080b2

View File

@@ -84,7 +84,7 @@ namespace ZelWiki
{
try
{
string emailAddress = (user.Claims.First(x => x.Type == ClaimTypes.Email)?.Value).EnsureNotNull();
var emailAddress = (user.Claims.First(x => x.Type == ClaimTypes.Email)?.Value).EnsureNotNull();
if (user.Identity?.IsAuthenticated == true)
{