diff --git a/login/ChangePW.aspx.vb b/login/ChangePW.aspx.vb index ab6af7d..f97e229 100644 --- a/login/ChangePW.aspx.vb +++ b/login/ChangePW.aspx.vb @@ -75,7 +75,7 @@ Partial Class login_ChangePW reqPasswtxt_M.Validate() reqPassw1txt_M.Validate() - If reqPassw1txt_M.IsValid And reqPasswtxt_M.IsValid Then + If reqPasswtxt_M.IsValid And reqPassw1txt_M.IsValid Then tempstr = txt_Pw_M.Text End If Else diff --git a/login/login_FLEX.aspx b/login/login_FLEX.aspx index ade8ccd..558f95c 100644 --- a/login/login_FLEX.aspx +++ b/login/login_FLEX.aspx @@ -304,16 +304,16 @@ - + - + - I forgot my password + I forgot my password @@ -355,15 +355,15 @@ - + - + - I forgot my password + I forgot my password diff --git a/login/login_FLEX.aspx.vb b/login/login_FLEX.aspx.vb index de96a03..a98773e 100644 --- a/login/login_FLEX.aspx.vb +++ b/login/login_FLEX.aspx.vb @@ -5,7 +5,9 @@ Partial Class login_FLEX Inherits System.Web.UI.Page Protected Sub Page_Load(sender As Object, e As EventArgs) - + If Page.IsPostBack Then + MsgBox("Debug") + End If End Sub Protected Sub ValidateUser(sender As Object, e As EventArgs) Dim userId As Integer = 0 @@ -61,8 +63,19 @@ Partial Class login_FLEX Protected Sub LoginButton_Click(sender As Object, e As EventArgs) Validate("Login") + If Page.IsValid() Then + Response.Redirect("../Customers/CustomsAviso.aspx") + Else + Response.Redirect("login_FLEX.aspx") + End If + End Sub Protected Sub LoginButton_M_Click(sender As Object, e As EventArgs) Validate("Login_M") + If Page.IsValid() Then + Response.Redirect("../Customers/CustomsAviso.aspx") + Else + Response.Redirect("login_FLEX.aspx") + End If End Sub End Class