Locked out of GUI after disabling 2FA

I sorted it by deleting the file, rather than just deleting the sole entry for root within the file