File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed
LearningHub.Nhs.WebUI/Controllers Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -378,7 +378,7 @@ public IActionResult UserLogout()
378378 [ AllowAnonymous ]
379379 public IActionResult Logout ( )
380380 {
381- var redirectUri = $ "{ this . configuration [ "LearningHubAuthServiceConfig:Authority" ] } /Home/SetIsPasswordUpdate?isLogout=true ";
381+ var redirectUri = $ "{ this . configuration [ "LearningHubAuthServiceConfig:Authority" ] } /Home/SetIsPasswordUpdate?isPasswordUpdate=false ";
382382 return this . Redirect ( redirectUri ) ;
383383 }
384384
Original file line number Diff line number Diff line change @@ -458,7 +458,7 @@ public async Task<IActionResult> UpdatePassword(ChangePasswordViewModel model)
458458 if ( this . ModelState . IsValid )
459459 {
460460 await this . userService . UpdatePassword ( model . NewPassword ) ;
461- var redirectUri = $ "{ this . configuration [ "LearningHubAuthServiceConfig:Authority" ] } /Home/SetIsPasswordUpdate?isLogout=false ";
461+ var redirectUri = $ "{ this . configuration [ "LearningHubAuthServiceConfig:Authority" ] } /Home/SetIsPasswordUpdate?isPasswordUpdate=true ";
462462 return this . Redirect ( redirectUri ) ;
463463 }
464464 else
You can’t perform that action at this time.
0 commit comments