Open Closed

remove tenant from the login screen - should change password on next login broken #11108

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


We removed tenant from the login screen and followed your instruction about from:

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

5 Answer(s)
  • 0
    musa.demir created
    Support Team

    Hi @kylem

    Can you please share your project with

  • 0
    kylem created

    Thanks, what is the easiest way of doing that? I've sent mail to Thanks, Peja

  • 0
    ismcagdas created
    Support Team

    Hi @kylem

    We have replied to your email.

  • 0
    kylem created

    Thanks, that worked. Peja

  • 0
    marble68 created