mirror of
https://github.com/aljazceru/btcpayserver.git
synced 2025-12-18 14:34:23 +01:00
Fix: Spurious EF error on CallbackGenerator
This commit is contained in:
@@ -219,7 +219,7 @@ namespace BTCPayServer.Controllers
|
||||
throw new ApplicationException($"Unable to load user with ID '{_userManager.GetUserId(User)}'.");
|
||||
}
|
||||
|
||||
var callbackUrl = await _callbackGenerator.ForEmailConfirmation(user, Request);
|
||||
var callbackUrl = await _callbackGenerator.ForEmailConfirmation(user);
|
||||
_eventAggregator.Publish(new UserEvent.ConfirmationEmailRequested(user, callbackUrl));
|
||||
TempData[WellKnownTempData.SuccessMessage] = StringLocalizer["Verification email sent. Please check your email."].Value;
|
||||
return RedirectToAction(nameof(Index));
|
||||
|
||||
Reference in New Issue
Block a user