Revert "update my DiscordBot branch"

This commit is contained in:
Spielepapagei
2023-04-29 10:09:40 +02:00
committed by GitHub
parent 7960c40ed0
commit 411cf63d74
152 changed files with 3249 additions and 9157 deletions

View File

@@ -1,4 +1,5 @@
using Moonlight.App.Models.Misc;
using System.ComponentModel.DataAnnotations;
using Moonlight.App.Models.Misc;
namespace Moonlight.App.Database.Entities;
@@ -33,7 +34,7 @@ public class User
// Security
public bool TotpEnabled { get; set; } = false;
public string TotpSecret { get; set; } = "";
public DateTime TokenValidTime { get; set; } = DateTime.UtcNow;
public DateTime TokenValidTime { get; set; } = DateTime.Now;
// Discord
public ulong DiscordId { get; set; }