client/src/actions/Auth/AuthActions.js
Function login
has 32 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
export function login(email, password) {
let validateError;
if (!validateEmail(email)) {
validateError = `Invalid Email Format: ${email}`;
} else if (!validatePassword(password)) {