提示:主要修改user/checkuserlogin.asp文件
找到
If InStr(UserName,"@")<>0 Then
Param=Param & " and Email='"& UserName & "'"
ElseIf Len(UserName)<10 and IsNumerIc(UserName) Then
Param=Param & " and (UserId=" & KS.ChkClng(UserName) & " or username='" & UserName &"')"
Else
Param=Param & " and UserName='" &UserName & "'"
End If
改成
If InStr(UserName,"@")<>0 Then
Param=Param & " and Email='"& UserName & "'"
ElseIf Len(UserName)<10 and IsNumerIc(UserName) Then
Param=Param & " and (UserId=" & KS.ChkClng(UserName) & " or username='" & UserName &"')"
Else
Param=Param & " and (UserName='" &UserName & "' or mobile='" & username & "')"
End If