Dual-attacking can be disabled by pressing [R] on PC or clicking the 2nd tiny icon under your melee weapon on the hotbar.

Not sure how it's done with controller UI, but there should be some option available to disable dual-attacks.