Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 5 additions & 5 deletions Auth/LearningHub.Nhs.Auth/Controllers/HomeController.cs
Original file line number Diff line number Diff line change
Expand Up @@ -83,18 +83,18 @@ public async Task<IActionResult> Error()
/// <summary>
/// IsPasswordUpdateMethod.
/// </summary>
/// <param name="isLogout">The Logout.</param>
/// <param name="isPasswordUpdate">The PasswordUpdate.</param>
/// <returns>The <see cref="ActionResult"/>.</returns>
[HttpGet]
public IActionResult SetIsPasswordUpdate(bool isLogout)
public IActionResult SetIsPasswordUpdate(bool isPasswordUpdate)
{
if (isLogout)
if (isPasswordUpdate)
{
this.webSettings.IsPasswordUpdate = false;
this.webSettings.IsPasswordUpdate = true;
}
else
{
this.webSettings.IsPasswordUpdate = true;
this.webSettings.IsPasswordUpdate = false;
}

var redirectUri = $"{this.webSettings.LearningHubWebClient}Home/UserLogout";
Expand Down
Loading