Merge pull request #251 from raboof/show-oauth-error

Show error alert when oauth fails
diff --git a/webui/js/oauth.js b/webui/js/oauth.js
index c74927a..e855b40 100644
--- a/webui/js/oauth.js
+++ b/webui/js/oauth.js
@@ -89,7 +89,7 @@
         console.log("No origin found, defaulting to ./");
         location.href = "./" // TODO: Return to whence we came...
     } else {
-        popup("Oauth failed", "Authentication failed: " + json.msg)
+        alert("Oauth failed: Authentication failed: " + json.message)
     }
 }