New theme: modern, fix message flash when "allowReg" is false.