Debugging more
This commit is contained in:
@@ -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);
|
||||
}
|
||||
|
||||
@@ -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();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user