Logout of Geo secondary after logging out of primary: undefined method `[]' for nil:NilClass
Summary
If you logout out of a Geo secondary node after logging out of the Geo primary, you get an undefined method '[]' for nil:NilClass
Steps to reproduce
- Using Chrome, login to a Geo primary with the root account
- Open a tab in the same browser and login to the Geo secondary, using the same account
- Logout of the primary
- Logout of the secondary
You get a
NoMethodError at /oauth/geo/logout
undefined method `[]' for nil:NilClass
Possible fixes
Problem occurs here: