lonnieezell / myth-auth

One-stop Auth package for CodeIgniter 4
MIT License
637 stars 208 forks source link

Validation.php ErrorException Undefined array key 1 #604

Closed blackforster closed 10 months ago

blackforster commented 1 year 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 1 year 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 10 months ago

Closing as stale.