This was always DOD policy. A base is a federal compound so you do have to declare all weapons at the gate. This is not enforced. They have a sign stating “No Concealed Weapons” at each entrance.
It all depends on security how they handle it if they do a search and find a weapon in the vehicle.
They have tried enforcing this at various bases and it was always overturned plus no one complied anyway.