Getting verification email every time i open Xbox PC app

Is there any way to disable this? It only started recently, so I’m wondering if it’s a security setting I enabled.

I should mention it doesn’t ask me to input the code anywhere. It’s logging me in automatically, but still sending a verification code