From 2ab282956fb923e02f232772ba0efac99a9f0c1f Mon Sep 17 00:00:00 2001 From: Rohit Agharkar Date: Fri, 18 Jun 2021 11:24:25 +0530 Subject: [PATCH] Fixed email login bug --- src/components/Account/Login/Login.actions.js | 1 + 1 file changed, 1 insertion(+) diff --git a/src/components/Account/Login/Login.actions.js b/src/components/Account/Login/Login.actions.js index a67d48b4c..1220d6fd0 100644 --- a/src/components/Account/Login/Login.actions.js +++ b/src/components/Account/Login/Login.actions.js @@ -23,6 +23,7 @@ export function logout() { export function login({ email, password }, type = 'local') { return async (dispatch, getState) => { try { + email = email.toLowerCase(); const apiMethod = type === 'local' ? 'login' : 'oAuthLogin'; const loginData = await API[apiMethod](email, password); const { communicator, board } = getState();