This commit is contained in:
Sina Blattmann 2023-07-06 11:07:10 +02:00
commit 53a3fe3d84
1 changed files with 1 additions and 1 deletions

View File

@ -14,7 +14,7 @@ using Token = String;
public class Controller : ControllerBase
{
[HttpPost(nameof(Login))]
public ActionResult<Session> Login(String username, String password)
public ActionResult<Session> Login(String username, String? password)
{
var user = Db.GetUserByName(username);