diff --git a/hyperglass/static/js/hyperglass.js b/hyperglass/static/js/hyperglass.js index 20a759d..9e416f5 100644 --- a/hyperglass/static/js/hyperglass.js +++ b/hyperglass/static/js/hyperglass.js @@ -175,6 +175,21 @@ function submitForm() { progress.hide(); $('#output').html(`

${response}

`); }, + 401: function(response, code) { + clearPage(); + target_error.show() + target_input.addClass('is-danger'); + target_error.html(` +
+
+
+ Authentication Error +
+
+ ${response.responseText} +
+
+ `); 405: function(response, code) { clearPage(); target_error.show()