Browse Source

wip:修改密码

wangshan 4 months ago
parent
commit
f9cb5ba0a3
1 changed files with 1 additions and 0 deletions
  1. 1 0
      src/jfw/front/login.go

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

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