Fixed login & auth

This commit is contained in:
2018-12-18 18:03:05 +01:00
parent 5bdc0dcba7
commit 663b695da4
14 changed files with 235 additions and 210 deletions

View File

@@ -1,15 +0,0 @@
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
namespace SeniorAssistant.Models
{
public class Register
{
public string Username { get; set; }
public string Email { get; set; }
public string Password { get; set; }
public bool Doctor { get; set; }
}
}

View File

@@ -17,11 +17,10 @@ namespace SeniorAssistant.Models
public string Password { get; set; }
[NotNull]
public bool Doctor { get; set; }
public string Role { get; set; }
public string Name { get; set; }
public string LastName { get; set; }
}
}