Another Init fix (apparently haven't tested this for a while)

This commit is contained in:
Rick Falkvinge
2015-06-04 13:16:09 +02:00
parent 12ecd5d04b
commit bc38e65d28
+2 -1
View File
@@ -697,7 +697,8 @@ namespace Swarmops.Frontend.Pages.v5.Public
if (expectedPersonOne != null)
{
FormsAuthentication.RedirectFromLoginPage ("1,1", true);
Authority firstAuthority = Authority.FromLogin(expectedPersonOne);
FormsAuthentication.RedirectFromLoginPage(firstAuthority.ToEncryptedXml(), true);
Response.Redirect ("/", true);
}