fix(web/blog): comment login check
All checks were successful
continuous-integration/drone/push Build is passing

This commit is contained in:
Baoshuo Ren 2022-11-21 20:14:47 +08:00
parent 6e9254e008
commit 4de873fb2c
Signed by: baoshuo
GPG Key ID: 00CB9680AB29F51A

View File

@ -25,7 +25,7 @@ $comment_form->addVTextArea(
'内容',
'',
function ($comment) {
if (Auth::check()) {
if (!Auth::check()) {
return '请先登录';
}
if (!$comment) {