A2F is two-factor authentication
Open Epic’s account security settings and select an offered verification method. Use the same Epic account that Fortnite uses on your device.
If Fortnite still says it is disabled
Sign out and back into the correct account, then check that the selected method shows as active. On console, verify the linked Epic account before changing settings again.