From 99b0c09a6bb984d811b63788015cfad1855b5f3c Mon Sep 17 00:00:00 2001 From: ivarlovlie Date: Mon, 14 Nov 2022 11:25:12 +0700 Subject: refactor: Endpoints - Model payloads in relevant route class - Move RequestTimeZoneInfo out of EndpointBase --- .../api/src/Endpoints/Internal/Account/LoginPayload.cs | 18 +----------------- 1 file changed, 1 insertion(+), 17 deletions(-) (limited to 'code/api/src/Endpoints/Internal/Account/LoginPayload.cs') diff --git a/code/api/src/Endpoints/Internal/Account/LoginPayload.cs b/code/api/src/Endpoints/Internal/Account/LoginPayload.cs index 807662c..a5670c6 100644 --- a/code/api/src/Endpoints/Internal/Account/LoginPayload.cs +++ b/code/api/src/Endpoints/Internal/Account/LoginPayload.cs @@ -1,22 +1,6 @@ namespace IOL.GreatOffice.Api.Endpoints.Internal.Account; -/// -/// Payload for logging in a user. -/// public class LoginPayload { - /// - /// Username of the user's account. - /// - public string Username { get; set; } - /// - /// Password of the user's account. - /// - public string Password { get; set; } - - /// - /// Specify that the created session should be long lived and continually refreshed. - /// - public bool Persist { get; set; } -} +} \ No newline at end of file -- cgit v1.3