1
1
mirror of https://github.com/renbaoshuo/S2OJ.git synced 2025-03-25 16:27:03 +00:00

fix(web/blog): comment login check

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

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