Got a login

This commit is contained in:
Paul Schneider 2023-04-05 22:29:40 +01:00
commit 4b52b6e96e
61 changed files with 7793 additions and 609 deletions

View file

@ -1,15 +0,0 @@
namespace Yavsc
{
public class SmtpSettings
{
public string Host { get; set; }
public int Port { get; set; }
public string UserName { get; set; }
public string Password { get; set; }
public string Domain { get; set; }
public bool EnableSSL { get; set; }
}
}

View file

@ -1,7 +0,0 @@
namespace Yavsc
{
public class ThirdPartyFiles {
}
}

View file

@ -10,8 +10,7 @@ namespace Yavsc.Server.Settings
new Dictionary<string, Func<ApplicationUser, bool>>
{
{ "allow-monthly", u => u.AllowMonthlyEmail },
{ "email-not-confirmed", u => !u.EmailConfirmed && u.DateCreated < DateTime.Now.AddDays(-7) },
{ "user-to-remove", u => !u.EmailConfirmed && u.DateCreated < DateTime.Now.AddDays(-14) }
{ "email-not-confirmed", u => !u.EmailConfirmed }
};
}
}