From b5d2a0c8cb1c1048d39a1fc77cfd6c1c1a53753d Mon Sep 17 00:00:00 2001 From: Ernst Widerberg Date: Thu, 25 Nov 2021 12:44:34 +0100 Subject: Add TODO --- src/components/Login.js | 3 +++ 1 file changed, 3 insertions(+) (limited to 'src') 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; -- cgit v1.1