globocom / gsh

GSH is an OpenID Connect-compatible authentication system for systems using OpenSSH servers
BSD 3-Clause "New" or "Revised" License
21 stars 12 forks source link

api: [FIX] Verify if command is sent to API before set at critical options #27

Closed mdjunior closed 5 years ago

mdjunior commented 5 years ago

This PR fix force-command option at API.

Before, when using an internal CA, API logic requires the force-command value, but is not required with external CA. This PR make force-command as not required.