wangshan 5 miesięcy temu
rodzic
commit
ea07ca9793

+ 1 - 1
src/jfw/front/login.go

@@ -368,7 +368,7 @@ func (l *Login) ForgetPwd() error {
 			//if l.GetSession("identCodeValue") == nil || l.GetString("identCode") != l.GetSession("identCodeValue") { //验证码不正确
 			//	return "identCodeError"
 			//}
-			l.SetSession("forgetPwdStep", 2)
+			l.SetSession("forgetPwdStep", "2")
 			return "y"
 		} else if reqType == "save" {
 			if l.GetSession("forgetPwdStep") == nil {

+ 1 - 1
src/jfw/modules/app/src/app/front/login.go

@@ -1060,7 +1060,7 @@ func (l *Login) ForgetPwd() error {
 			//if l.GetSession("identCodeValue") == nil || l.GetString("identCode") != l.GetSession("identCodeValue") { //验证码不正确
 			//	return "identCodeError"
 			//}
-			l.SetSession("forgetPwdStep", 2)
+			l.SetSession("forgetPwdStep", "2")
 			l.SetSession("forgetPwdPhone", phone)
 			return "y"
 		} else if reqType == "save" {