diff options
author | Dylan William Hardison <dylan@hardison.net> | 2018-10-09 23:06:18 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-10-09 23:06:18 +0200 |
commit | 37d767c50d5ae69b13c47b71ba16b93c6b450730 (patch) | |
tree | 8d91a217f7350b68ea391b345b1a1a362a2ad2d6 /template/en/default/global | |
parent | 34fd0c3db18f7f5da558d8a8294e7fea61224186 (diff) | |
download | bugzilla-37d767c50d5ae69b13c47b71ba16b93c6b450730.tar.gz bugzilla-37d767c50d5ae69b13c47b71ba16b93c6b450730.tar.xz |
Bug 1497343 - Add some rudimentary type checking to Bugzilla::WebServe::Util::validate()
Diffstat (limited to 'template/en/default/global')
-rw-r--r-- | template/en/default/global/user-error.html.tmpl | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/template/en/default/global/user-error.html.tmpl b/template/en/default/global/user-error.html.tmpl index 9b0583009..53de6a420 100644 --- a/template/en/default/global/user-error.html.tmpl +++ b/template/en/default/global/user-error.html.tmpl @@ -1037,6 +1037,10 @@ [% title = "Invalid Authentication Method" %] API key authentication is required. + [% ELSIF error == "invalid_params" %] + [% title = "Invalid Params" %] + API method received invalid params: [% type_error FILTER html %] + [% ELSIF error == "bug_id_does_not_exist" %] [% title = BLOCK %]Invalid [% terms.Bug %] ID[% END %] [% terms.Bug %] [%= bug_id FILTER html %] does not exist. |