mirror of
https://github.com/gogrlx/nats-server.git
synced 2026-04-15 10:40:41 -07:00
When tls is on routes it can cause reloadAuthorization to be called. We were assuming configured accounts, but did not copy the remote map. This copies the remote map when transferring for configured accounts and also handles operator mode. In operator mode we leave the accounts in place, and if we have a memory resolver we will remove accounts that are not longer defined or have bad claims. Signed-off-by: Derek Collison <derek@nats.io>
359 B
359 B