v1200 sport 2010

hi just bought a 2010 v1200 sport when i put the key in it asks for the user code but still starts any ideas

If I remember correctly its the code that “protects” your keys and I think that you need to check that all your keys will work with the bike and if so you can then set the code.
make a note of it and don’t lose it when you set it.