0
ccernat created
- ABP Framework version: v7.1.0
- UI type: Blazor Server single layer app
- DB provider: EF Core
- Tiered (MVC) or Identity Server Separated (Angular): no
- Exception message and stack trace:
- Steps to reproduce the issue:"
I am trying to use the SignInManager but I am getting this error:
I am trying to check a code sent by email. All OK, but when I am trying to sign in I get the error above.
Does anyone encountered this? What could be the problem?
I am on a ABP Blazor server single layer app template.
5 Answer(s)
-
0
hi
Begin a New Unit Of Work in your HandleValidSubmit method
https://docs.abp.io/en/abp/latest/Unit-Of-Work#begin-a-new-unit-of-work
-
0
-
0
hi
Please use the
using
for whole method.private async Task HandleValidSubmit() { using (var uow = _unitOfWorkManager.Begin()) { //... // Your code await uow.CompleteAsync(); } }
-
1
-
0
solved it.
TKS!