lonnieezell / myth-auth

One-stop Auth package for CodeIgniter 4
MIT License
632 stars 207 forks source link

Validation.php ErrorException Undefined array key 1 #604

Closed blackforster closed 8 months ago

blackforster commented 11 months ago

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?

manageruz commented 11 months ago

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
manageruz commented 8 months ago

Closing as stale.