That is currently hard-code into PVE::Auth:lugin.
Did that change in 3.1? In 3.0 I could change it
I am not aware of any change related to that.
Where are the files?
The files are still at the same location as in 3.0 - nothing changed here.
Anyway - I changed the code above that I pasted but the realms don't change ....
Does it help if you restart pveproxy?
# service pveproxy restart
and maybe pvedaemon
# service pvedaemon restart
Nope - seems like pvemanagerlib.js is not reading that thing properly ... hrm