Revert "Merge pull request #106 from Moonlight-Panel/DiscordBot"

This reverts commit f71fcc0f5d, reversing
changes made to e0bea9b61c.
This commit is contained in:
Marcel Baumgartner
2023-04-29 23:37:03 +02:00
parent f71fcc0f5d
commit ca64184faf
152 changed files with 9159 additions and 3251 deletions

View File

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