diff --git a/AdminUI/LearningHub.Nhs.AdminUI/web.config b/AdminUI/LearningHub.Nhs.AdminUI/web.config new file mode 100644 index 000000000..6bcb74972 --- /dev/null +++ b/AdminUI/LearningHub.Nhs.AdminUI/web.config @@ -0,0 +1,21 @@ + + + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/LearningHub.Nhs.WebUI/Controllers/AccountController.cs b/LearningHub.Nhs.WebUI/Controllers/AccountController.cs index b082eaee4..2d2017cd2 100644 --- a/LearningHub.Nhs.WebUI/Controllers/AccountController.cs +++ b/LearningHub.Nhs.WebUI/Controllers/AccountController.cs @@ -1167,6 +1167,16 @@ public IActionResult InvalidUserAccount() return this.View(); } + /// + /// The user already has an already active session. Then prevent concurrent access to the Learning Hub. + /// + /// The . + [HttpGet] + public IActionResult AlreadyAnActiveSession() + { + return this.View(); + } + /// /// The ForgotPassword. /// diff --git a/LearningHub.Nhs.WebUI/Services/UserService.cs b/LearningHub.Nhs.WebUI/Services/UserService.cs index b6e277368..a0ba11d9a 100644 --- a/LearningHub.Nhs.WebUI/Services/UserService.cs +++ b/LearningHub.Nhs.WebUI/Services/UserService.cs @@ -1886,8 +1886,6 @@ public async Task> CheckUserHasAnActiveSess return userHistoryViewModel; } - - /// /// The base 64 m d 5 hash digest. /// diff --git a/LearningHub.Nhs.WebUI/Views/Account/AlreadyAnActiveSession.cshtml b/LearningHub.Nhs.WebUI/Views/Account/AlreadyAnActiveSession.cshtml index 1f5d3b6a7..a0e908c15 100644 --- a/LearningHub.Nhs.WebUI/Views/Account/AlreadyAnActiveSession.cshtml +++ b/LearningHub.Nhs.WebUI/Views/Account/AlreadyAnActiveSession.cshtml @@ -1,5 +1,5 @@ @{ - ViewData["Title"] = "Already active session"; + ViewData["Title"] = "Session already active"; }
diff --git a/LearningHub.Nhs.WebUI/web.config b/LearningHub.Nhs.WebUI/web.config new file mode 100644 index 000000000..837247997 --- /dev/null +++ b/LearningHub.Nhs.WebUI/web.config @@ -0,0 +1,21 @@ + + + + + + + + + + + + + + + + + + + + + diff --git a/WebAPI/LearningHub.Nhs.API/web.config b/WebAPI/LearningHub.Nhs.API/web.config new file mode 100644 index 000000000..62efcf17d --- /dev/null +++ b/WebAPI/LearningHub.Nhs.API/web.config @@ -0,0 +1,21 @@ + + + + + + + + + + + + + + + + + + + + + \ No newline at end of file