Added code to support password settings. Fixed a bug where the [FromBody] attribute resulted in null object properties, as well as included more null checks.
This commit is contained in:
@@ -0,0 +1,9 @@
|
||||
|
||||
namespace SecureCore.Models
|
||||
{
|
||||
public class LoginInfo
|
||||
{
|
||||
public string Username { get; set; }
|
||||
public string Password { get; set; }
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user