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,10 @@
|
||||
|
||||
namespace SecureCore.Models
|
||||
{
|
||||
public class RegistrationInfo
|
||||
{
|
||||
public string Username { get; set; }
|
||||
public string Password { get; set; }
|
||||
public string Email { get; set; }
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user