We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent d624f62 commit aa5ef67Copy full SHA for aa5ef67
1 file changed
src/Controllers/LoginController.php
@@ -65,7 +65,7 @@ protected function getValidationRules(): array
65
{
66
return setting('Validation.login') ?? [
67
//'username' => setting('Validation._username') ?? $this->getUsernameRules(),
68
- 'email' => $this->getEmailRules(),
+ 'email' => static::getEmailRules(),
69
'password' => 'required',
70
];
71
}
0 commit comments