update: rollback

This commit is contained in:
v2board 2023-07-25 19:23:40 +08:00
parent c1097ad48f
commit e6b6d1022e

View File

@ -37,11 +37,6 @@ class CommController extends Controller
if (Cache::get(CacheKey::get('LAST_SEND_EMAIL_VERIFY_TIMESTAMP', $email))) {
abort(500, __('Email verification code has been sent, please request again later'));
}
if (!User::where('email', $email)->first()) {
return [
'data' => true
];
}
$code = rand(100000, 999999);
$subject = config('v2board.app_name', 'V2Board') . __('Email verification code');