lonnieezell/myth-auth

Validation.php ErrorException Undefined array key 1

blackforster opened this issue · 2 comments

This error refers to: FCPATH\vendor\myth\auth\src\Authentication\Passwords\NothingPersonalValidator.php at line 77.

When I try to enter an email with an incorrect format, this library displays such an error. For example, when I enter an email on my website as blackforster@example.com, it works, but when I remove the email format and enter it as blackforster, that's when the error occurs.

How can I overcome this?

Hi @blackforster
Can you give more info please:

  1. Myth Auth version
  2. $validFields variable value which is located inside config->auth.php file
  3. AuthController.php file's attemptLogin method full code

Closing as stale.