Password validation to disable 2FA

Hi, is there way to validate password before disabling the mfa from account setting.