chore: upgrade to L9
BREAKING CHANGE: This commit updates the Laravel framework to version 9. Additionally, it also updates outdated and abandoned dependencies in the composer.json file. The resources/lang directory has also been moved to the repository's root directory.
This commit is contained in:
@@ -43,7 +43,7 @@ class ChangeEmailRequest extends FormRequest
|
||||
public function rules()
|
||||
{
|
||||
return [
|
||||
'currentPassword' => 'required|password',
|
||||
'currentPassword' => 'required|current_password',
|
||||
'newEmail' => 'required|email|unique:users,email',
|
||||
];
|
||||
}
|
||||
|
Reference in New Issue
Block a user