Problem with custom validation |
Hello all.
I'm new to CI4. I'm really excited about the new way of coding. I use CI3 for the last 6 years. I began to rewriite an application from CI3 to CII4 but I stack with a problem using custom validation. I have added my custom validation file in App\Config\Validation.php Code: public $ruleSets = [ This is the VisitorsAreaRules.php. The password in the db is not encrypted, is just varchar for now. That's why I don't use password_verify. Code: <?php And this is my class Code: <?php namespace App\Controllers\World\Parents; It returns the bellow error: validateVisitor(username, password) is not a valid rule. Please, can anyone tell me what I do wrong? Thank you in advance. |
Messages In This Thread |
Problem with custom validation - by akisthess79 - 11-04-2020, 01:54 PM
RE: Problem with custom validation - by akisthess79 - 11-05-2020, 02:20 AM
RE: Problem with custom validation - by akisthess79 - 11-06-2020, 02:06 PM
|