Merge branch 'main' of https://git.innov.energy/Innovenergy/git_trunk
This commit is contained in:
commit
53a3fe3d84
|
@ -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);
|
||||
|
||||
|
|
Loading…
Reference in New Issue