diff --git a/Site5/Pages/v5/Init/Default.aspx.cs b/Site5/Pages/v5/Init/Default.aspx.cs index f453489d..192e1cf5 100644 --- a/Site5/Pages/v5/Init/Default.aspx.cs +++ b/Site5/Pages/v5/Init/Default.aspx.cs @@ -695,6 +695,10 @@ public partial class Pages_v5_Init_Default : System.Web.UI.Page if (expectedPersonOne != null) { + StreamWriter temp = new StreamWriter("/tmp/actdebug1.txt"); + temp.WriteLine("Authentication was successful in ButtonLogin_Click"); + temp.Close(); + FormsAuthentication.RedirectFromLoginPage("1,1", true); Response.Redirect("/", true); } diff --git a/Site5/Security/Login.aspx.cs b/Site5/Security/Login.aspx.cs index 34825488..d0cc1959 100644 --- a/Site5/Security/Login.aspx.cs +++ b/Site5/Security/Login.aspx.cs @@ -63,14 +63,15 @@ namespace Activizr.Pages.Security } catch (Exception exception) { + StreamWriter temp = new StreamWriter("/tmp/actdebug2.txt"); + temp.WriteLine(exception.ToString()); + temp.Close(); + System.Diagnostics.Debug.WriteLine(exception.ToString()); this.LabelLoginFailed.Text = exception.ToString(); this.LabelLoginFailed.Visible = true; this.TextLogin.Focus(); - StreamWriter temp = new StreamWriter("/tmp/actdebug.txt"); - temp.WriteLine(exception.ToString()); - temp.Close(); } } }