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:
2022-02-22 19:46:18 +00:00
parent b6213bc66f
commit f61a287c78
65 changed files with 1634 additions and 1773 deletions

View File

@@ -45,13 +45,13 @@ class UserDeleteRequest extends FormRequest
{
if (Auth::user()->has2FA()) {
return [
'currentPassword' => 'required|password:web',
'currentPassword' => 'required|current_password:web',
'otp' => 'required|integer|max:6',
];
}
return [
'currentPassword' => 'required|password:web',
'currentPassword' => 'required|current_password:web',
];
}
}