Hi nzuser,
If you select "Trust this device for 30 days" on the authentication window, you don’t need to type a code every time you log in. After 30 days, or if you log in from a different device (say your home computer), you'll need to authenticate again.