has2FA()) { return [ 'currentPassword' => 'required|current_password:web', 'otp' => 'required|integer|max:6', ]; } return [ 'currentPassword' => 'required|current_password:web', ]; } public function authorize(): bool { return true; } }