Authentication added. Login/Logout operational.
This commit is contained in:
@@ -8,6 +8,7 @@ using MileageTraker.Web.ViewModels;
|
||||
|
||||
namespace MileageTraker.Web.Controllers
|
||||
{
|
||||
[Authorize(Roles = "Administrator, Developer")]
|
||||
public class LogController : ControllerBase
|
||||
{
|
||||
private readonly DataService _dataService = new DataService();
|
||||
|
||||
Reference in New Issue
Block a user