summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/components/Login.js3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/components/Login.js b/src/components/Login.js
index c64ead0..bc4baec 100644
--- a/src/components/Login.js
+++ b/src/components/Login.js
@@ -32,6 +32,9 @@ class Login extends React.Component {
})
.then(resp => {
if (resp.status === 401) {
+ // TODO: CORS fails on requests with bad credentials, so
+ // this path is never taken. Fix this in auth-server-poc.
+
// Unauthorized: Wrong email/password
this.setState({ loginFailed: true });
return;