Zelyanoth commited on
Commit
e369308
·
1 Parent(s): e422f72
Files changed (1) hide show
  1. frontend/src/pages/Login.jsx +2 -2
frontend/src/pages/Login.jsx CHANGED
@@ -147,9 +147,9 @@ const Login = () => {
147
  <path fillRule="evenodd" d="M10 18a8 8 0 100-16 8 8 0 000 16zM8.707 7.293a1 1 0 00-1.414 1.414L8.586 10l-1.293 1.293a1 1 0 101.414 1.414L10 11.414l1.293 1.293a1 1 0 001.414-1.414L11.414 10l1.293-1.293a1 1 0 00-1.414-1.414L10 8.586 8.707 7.293z" clipRule="evenodd" />
148
  </svg>
149
  <span className="text-red-700 text-xs sm:text-sm font-medium">
150
- {error.includes('Email or password is incorrect')
151
  ? 'Password/email Incorrect'
152
- : error.includes('verify your email')
153
  ? 'Check your mail to confirm your account'
154
  : error}
155
  </span>
 
147
  <path fillRule="evenodd" d="M10 18a8 8 0 100-16 8 8 0 000 16zM8.707 7.293a1 1 0 00-1.414 1.414L8.586 10l-1.293 1.293a1 1 0 101.414 1.414L10 11.414l1.293 1.293a1 1 0 001.414-1.414L11.414 10l1.293-1.293a1 1 0 00-1.414-1.414L10 8.586 8.707 7.293z" clipRule="evenodd" />
148
  </svg>
149
  <span className="text-red-700 text-xs sm:text-sm font-medium">
150
+ {error.includes('Password/email Incorrect')
151
  ? 'Password/email Incorrect'
152
+ : error.includes('Check your mail to confirm your account')
153
  ? 'Check your mail to confirm your account'
154
  : error}
155
  </span>