This commit is contained in:
DesperadoJ
2020-02-17 22:12:47 +08:00
parent 0c1a53faab
commit 6b43597eaf
3 changed files with 4 additions and 4 deletions

View File

@ -40,7 +40,7 @@ class CommController extends Controller
$email = $request->input('email');
$cacheKey = 'sendEmailVerify:' . $email;
if (Cache::get($cacheKey)) {
abort(500, '验证码已发送,请过一会请求');
abort(500, '验证码已发送,请过一会请求');
}
$code = Helper::randomChar(6);
$subject = config('v2board.app_name', 'V2Board') . '邮箱验证码';