mirror of
https://github.com/Caraxi/mare.server.git
synced 2025-12-29 07:39:17 +01:00
add LastLoggedIn migration, disallow secondary connections
This commit is contained in:
parent
130350b71b
commit
f8ecd3965d
8 changed files with 249 additions and 14 deletions
|
|
@ -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; }
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue