If you use Google two-step verification and you are not receiving any code from google then please follow the steps given below:-
- Check if Gmail is down
- Use a different device to log in
- Check your internet connection
- Try to sign with the trusted network
- Try again later