Integrate 2fa configuration in the front-end registration

It would be great to have an integration for Defender 2fa configuration inthe front end registration process and not allow the user to go to the back-end and just have theme configure it then and there.