0
kylem created
- What is your product version? 11.0.0
- What is your product type (Angular or MVC)? Angular
- What is product framework type (.net framework or .net core)? .net core
Hi,
We removed tenant from the login screen and followed your instruction about from: https://docs.aspnetzero.com/en/aspnet-core-angular/latest/Core-Angular-Sign-In-Without-Specifying-Tenant
Recently we tried setting user flag 'should change password on next login'. After authentication user is correctly redirected to the screen to change password, however when they attempt to do it we see following error:
ERROR 2022-06-10 06:04:41,070 [3 ] Mvc.ExceptionHandling.AbpExceptionFilter - There is no user with id: 7
Abp.AbpException: There is no user with id: 7
at Abp.Authorization.Users.AbpUserManager`2.GetUserByIdAsync(Int64 userId)
at DenvrDashboard.Authorization.Accounts.AccountAppService.ResetPassword(ResetPasswordInput input) in C:\Users\PejaRadojkovic\workspace\denvrdata\DenvrDashboard\aspnet-core\src\DenvrDashboard.Application\Authorization\Accounts\AccountAppService.cs:line 138
at lambda_method2024(Closure , Object )
at Microsoft.AspNetCore.Mvc.Infrastructure.ActionMethodExecutor.AwaitableObjectResultExecutor.Execute(IActionResultTypeMapper mapper, ObjectMethodExecutor executor, Object controller, Object[] arguments)
at Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker.<InvokeActionMethodAsync>g__Awaited|12_0(ControllerActionInvoker invoker, ValueTask`1 actionResultValueTask)
at Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker.<InvokeNextActionFilterAsync>g__Awaited|10_0(ControllerActionInvoker invoker, Task lastTask, State next, Scope scope, Object state, Boolean isCompleted)
at Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker.Rethrow(ActionExecutedContextSealed context)
at Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker.Next(State& next, Scope& scope, Object& state, Boolean& isCompleted)
at Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker.<InvokeInnerFilterAsync>g__Awaited|13_0(ControllerActionInvoker invoker, Task lastTask, State next, Scope scope, Object state, Boolean isCompleted)
at Microsoft.AspNetCore.Mvc.Infrastructure.ResourceInvoker.<InvokeNextExceptionFilterAsync>g__Awaited|26_0(ResourceInvoker invoker, Task lastTask, State next, Scope scope, Object state, Boolean isCompleted)
Can you please advice how to resolve the issue. Thanks, Peja
Markdown is supported
Copy & paste or drag & drop images (max 30 MB per image)
5 Answer(s)
-
0
Hi @kylem
Can you please share your project with [email protected]
Markdown is supportedCopy & paste or drag & drop images (max 30 MB per image) -
0
Thanks, what is the easiest way of doing that? I've sent mail to [email protected] Thanks, Peja
Markdown is supportedCopy & paste or drag & drop images (max 30 MB per image) -
0
Hi @kylem
We have replied to your email.
Markdown is supportedCopy & paste or drag & drop images (max 30 MB per image) -
0
Thanks, that worked. Peja
Markdown is supportedCopy & paste or drag & drop images (max 30 MB per image) -
0
Solution?
Markdown is supportedCopy & paste or drag & drop images (max 30 MB per image)