From 1fa52fac5802782f2b7ff20340cb10b7d1c2ec7d Mon Sep 17 00:00:00 2001 From: Dion Date: Thu, 25 Jan 2024 08:33:54 +0100 Subject: [PATCH] Update XML comments Account controller --- .../starsky/Controllers/AccountController.cs | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) diff --git a/starsky/starsky/Controllers/AccountController.cs b/starsky/starsky/Controllers/AccountController.cs index 1035a6b0e8..87f894add9 100644 --- a/starsky/starsky/Controllers/AccountController.cs +++ b/starsky/starsky/Controllers/AccountController.cs @@ -121,11 +121,11 @@ public IActionResult LoginGet(string? returnUrl = null, bool? fromLogout = null) /// /// Email, password and remember me bool /// Login status - /// successful login - /// login failed - /// ValidateAntiForgeryToken - /// login failed due lock - /// login failed due signIn errors + /// Successful login + /// Login failed + /// ValidateAntiForgeryToken error + /// Login failed due lock + /// Login failed due signIn errors [HttpPost("/api/account/login")] [ProducesResponseType(typeof(string),200)] [ProducesResponseType(typeof(string),401)] @@ -162,8 +162,8 @@ public async Task LoginPost(LoginViewModel model) /// /// Logout the current HttpContext out /// - /// - /// successful logout + /// Login Status + /// Successful logout [HttpPost("/api/account/logout")] [ProducesResponseType(200)] [AllowAnonymous] @@ -178,7 +178,7 @@ public IActionResult LogoutJson() /// /// insert url to redirect /// redirect to return url - /// + /// Redirect to login page [HttpGet("/account/logout")] [ProducesResponseType(200)] [AllowAnonymous] @@ -193,7 +193,7 @@ public IActionResult Logout(string? returnUrl = null) /// Update password for current user /// /// Password, ChangedPassword and ChangedConfirmPassword - /// Login status + /// Change secret status /// successful login /// Model is not correct /// please login first or your current password is not correct