We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent b0adae7 commit a9412a7Copy full SHA for a9412a7
package/thingino-webui/files/www/x/json-telegrambot.cgi
@@ -1,4 +1,9 @@
1
#!/bin/sh
2
+
3
+# Check authentication
4
+. /var/www/x/auth.sh
5
+require_auth
6
7
config_file=/etc/telegrambot.json
8
if [ "$REQUEST_METHOD" = "POST" ]; then
9
cl=${CONTENT_LENGTH:-0}
0 commit comments