chore: add back url on csrf defend page
All checks were successful
continuous-integration/drone/push Build is passing

This commit is contained in:
Baoshuo Ren 2023-02-07 06:27:49 +08:00
parent 760f8e7c5e
commit 15706742c2
Signed by: baoshuo
GPG Key ID: 00CB9680AB29F51A

View File

@ -28,7 +28,10 @@ function crsf_check() {
}
function crsf_defend() {
if (!crsf_check()) {
UOJResponse::page403('页面已过期(可能页面真的过期了,也可能是刚才你访问的网页没有完全加载,也可能是你的浏览器版本太老)');
UOJResponse::page403(<<<EOD
<div>页面已过期(可能页面真的过期了,也可能是刚才你访问的网页没有完全加载,也可能是你的浏览器版本太老)</div>
<div><a href="">返回</a></div>
EOD);
}
}