From c738804b1ce4ab7c34ea0aa5a7ce280c47c827c1 Mon Sep 17 00:00:00 2001 From: Kim Date: Thu, 6 Jul 2023 11:06:55 +0200 Subject: [PATCH] made password nullable in login function --- csharp/App/Backend/Controller.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/csharp/App/Backend/Controller.cs b/csharp/App/Backend/Controller.cs index ca7deabb2..519684547 100644 --- a/csharp/App/Backend/Controller.cs +++ b/csharp/App/Backend/Controller.cs @@ -14,7 +14,7 @@ using Token = String; public class Controller : ControllerBase { [HttpPost(nameof(Login))] - public ActionResult Login(String username, String password) + public ActionResult Login(String username, String? password) { var user = Db.GetUserByName(username);