When entering the code during login, you are verifying that you trust the new device and can choose to trust the current device for 30 days.
When two-factor authentication is enabled, logging into Nexus Mods from a new device will require two pieces of information: Your password and a 6-character verification code that is generated by an authentication app such as Authy or Google Authenticator.
It is designed to help ensure you're the only person who can access your account or make important changes to your account details. Two-factor authentication for Nexus Mods Two-factor authentication is an extra layer of security for your Nexus Mods account in addition to your password.