Commit 11c7dd50 by 冷斌

fix bug

parent c2f883ae
......@@ -69,7 +69,7 @@ class RepwdAction extends CommonAction
if (!preg_match(\Model\ValidateModel::get('phone'), $phone)) {
$this->mzError('请输入正确的手机号码');
}
$_SESSION['repwdtime'] = 0;
if ($_SESSION['repwdtime'] > $time) {
$this->mzError('请勿频繁获取手机验证码');
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment