mirror of
https://github.com/renbaoshuo/S2OJ.git
synced 2024-11-22 14:08:42 +00:00
fix(web/blog): comment login check
All checks were successful
continuous-integration/drone/push Build is passing
All checks were successful
continuous-integration/drone/push Build is passing
This commit is contained in:
parent
6e9254e008
commit
4de873fb2c
@ -25,7 +25,7 @@ $comment_form->addVTextArea(
|
|||||||
'内容',
|
'内容',
|
||||||
'',
|
'',
|
||||||
function ($comment) {
|
function ($comment) {
|
||||||
if (Auth::check()) {
|
if (!Auth::check()) {
|
||||||
return '请先登录';
|
return '请先登录';
|
||||||
}
|
}
|
||||||
if (!$comment) {
|
if (!$comment) {
|
||||||
|
Loading…
Reference in New Issue
Block a user