diff --git a/login/ForgotPW.aspx.vb b/login/ForgotPW.aspx.vb index ffb493f..5f66868 100644 --- a/login/ForgotPW.aspx.vb +++ b/login/ForgotPW.aspx.vb @@ -148,7 +148,7 @@ Partial Class login_ForgotPW Dim time() As Byte = BitConverter.GetBytes(DateTime.UtcNow.ToBinary()) Dim Key() As Byte = Guid.NewGuid().ToByteArray() Dim token As String - If username = Not Nothing And email = Not Nothing Then + If username = Not Nothing AndAlso email = Not Nothing Then Try token = Convert.ToBase64String(time.Concat(Key).ToArray()) Return token