Rule reminder
After 'per non', always use the infinitive (base form). The negative particle 'non' comes directly before the infinitive: per non + infinitive. Never use 'per non + conjugated verb'.
Ha usato un codice per non _____ (sbagliare) la password.