Auto run a Cvar on login

So due to the way Blizz disables nameplates in a dungeon i have to run this on every login to remove friendly player HP bars since i use KUI nameplates, it works great but i have to run a macro every time i login, any way to make this command auto run on every login?

/run SetCVar('nameplateShowOnlyNames', 1)