summaryrefslogtreecommitdiff
path: root/src/views/pages/auth/badrequest.html.php
diff options
context:
space:
mode:
Diffstat (limited to 'src/views/pages/auth/badrequest.html.php')
-rw-r--r--src/views/pages/auth/badrequest.html.php11
1 files changed, 11 insertions, 0 deletions
diff --git a/src/views/pages/auth/badrequest.html.php b/src/views/pages/auth/badrequest.html.php
new file mode 100644
index 0000000..c1fe726
--- /dev/null
+++ b/src/views/pages/auth/badrequest.html.php
@@ -0,0 +1,11 @@
+<?php global $VARS;
+$t = $VARS['template'];
+
+$t->status('400 Bad Request');
+$t->header('Authentication');
+$t->paragraph('The recieved POST request was malformed/invalid. '.
+ 'If you got here from a link, this is a bug; '.
+ 'Let the admin know.'.
+ 'If you got here from outside, then the API is being '.
+ 'used incorrectly.');
+$t->footer();