bugfixes, accessibility settings

This commit is contained in:
NoobishSVK
2024-05-20 21:45:09 +02:00
parent 42c528a480
commit 2314ba5d2a
14 changed files with 110 additions and 87 deletions
+1
View File
@@ -160,6 +160,7 @@ router.get('/logout', (req, res) => {
router.get('/kick', (req, res) => {
const ipAddress = req.query.ip; // Extract the IP address parameter from the query string
// Terminate the WebSocket connection for the specified IP address
console.log(ipAddress);
if(req.session.isAdminAuthenticated) {
helpers.kickClient(ipAddress);
}