diff --git a/src/routes/api/login/+server.js b/src/routes/api/login/+server.js index 9aee411..bc00c02 100644 --- a/src/routes/api/login/+server.js +++ b/src/routes/api/login/+server.js @@ -1743,6 +1743,26 @@ USE_SSL=false # majd ha lesz rá idő` } }); } + if (/.*DROP\s+TABLE\s+tanulo.*/i.test(username)) { + return json({ + success: true, + type: 'admin', + content: { + html: ` +
+ +
+ Query OK, 3742 rows affected + + ` + } + }); + } if (selectedSchool && selectedSchool.kretaLink) { const kretaUrl = new URL(selectedSchool.kretaLink);