From d890288c9e31caa91bfe3c84bb008345fd0e54a3 Mon Sep 17 00:00:00 2001 From: Rick Falkvinge Date: Wed, 4 Jan 2017 19:29:04 +0100 Subject: [PATCH] Another attempt to fix elusive error on Init --- Site/Pages/v5/Public/Initialize.aspx.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Site/Pages/v5/Public/Initialize.aspx.cs b/Site/Pages/v5/Public/Initialize.aspx.cs index 3e59643c..c92bb9b3 100644 --- a/Site/Pages/v5/Public/Initialize.aspx.cs +++ b/Site/Pages/v5/Public/Initialize.aspx.cs @@ -747,7 +747,7 @@ namespace Swarmops.Frontend.Pages.v5.Public Person newPerson = Person.Create (name, mail, password, string.Empty, string.Empty, string.Empty, string.Empty, string.Empty, DateTime.MinValue, PersonGender.Unknown); - newPerson.AddParticipation(Organization.Sandbox, DateTime.MaxValue); + newPerson.AddParticipation(Organization.Sandbox, DateTime.UtcNow.AddYears(100)); Authority firstAuthority = Authority.FromLogin(newPerson, Organization.Sandbox); FormsAuthentication.SetAuthCookie(firstAuthority.ToEncryptedXml(), true);