gate-sso / gate

Gate is MFA Enabled SSO Platform that supports SAML, OAuth, Linux shell login and CAS
https://gate-sso.github.io
MIT License
203 stars 52 forks source link

Fix for splitting nil variable (regression #18) #19

Closed seren closed 7 years ago

seren commented 7 years ago

If ENV['GATE_HOSTED_DOMAINS'] is nil, attempting to split it will produce an error. This prevents splitting in that case.

seren commented 7 years ago

Nevermind, this just moves the error into a different area. Apparently GATE_HOSTED_DOMAINS can't be nil anymore.