has2FA()) { return [ 'currentPassword' => 'required|password:web', 'otp' => 'required|integer|max:6' ]; } return [ 'currentPassword' => 'required|password:web' ]; } }