add LastLoggedIn migration, disallow secondary connections

This commit is contained in:
Stanley Dimant 2022-07-18 10:34:11 +02:00
parent 130350b71b
commit f8ecd3965d
8 changed files with 249 additions and 14 deletions

View file

@ -1,4 +1,5 @@
using System.ComponentModel.DataAnnotations;
using System;
using System.ComponentModel.DataAnnotations;
namespace MareSynchronosServer.Models
{
@ -14,5 +15,7 @@ namespace MareSynchronosServer.Models
public bool IsModerator { get; set; } = false;
public bool IsAdmin { get; set; } = false;
public DateTime LastLoggedIn { get; set; }
}
}