fix: Lowercase email everywhere

This commit is contained in:
Andras Bacsai
2022-02-22 08:12:45 +01:00
parent 76c1480903
commit bc463c37f4
3 changed files with 4 additions and 4 deletions

View File

@@ -18,7 +18,7 @@
async function handleSubmit() {
loading = true;
try {
const { teamId } = await post(`/login.json`, { email, password });
const { teamId } = await post(`/login.json`, { email: email.toLowerCase(), password });
if (teamId === '0') {
window.location.replace('/settings');
} else {