mirror of
https://github.com/MCSManager/MCSManager.git
synced 2025-01-30 15:19:32 +08:00
auth 适配
This commit is contained in:
parent
cdda829786
commit
05d5dbdecb
@ -43,7 +43,7 @@ router.all('/auth/:servername', (req, res) => {
|
||||
router.all('/logout', (req, res) => {
|
||||
req.session.fsos = null;
|
||||
req.session.fsoperate = null;
|
||||
res.send('[正常] 您已安全退出,现在可以关闭这个网页。');
|
||||
res.send('<script> window.close();</script>');
|
||||
});
|
||||
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user