Skip to content
  1. Extras
  2. AjaxFormItLogin
  3. Validators
  4. aflUserNotExists

aflUserNotExists

Snippet checks whether a user with the given username exists. Returns an error if the user is not found. Used for password recovery.

Usage example

fenom
...
'customValidators' => 'aflUserNotExists',
'validate' => 'email:required:aflUserNotExists',
...