Remove unnecessary oauth method
Signed-off-by: Marcos Lilljedahl <marcosnils@gmail.com>
This commit is contained in:
@@ -20,16 +20,20 @@ const (
|
||||
AliasPortGroupRegex = "^.*pwd" + AliasGroupRegex + "(?:-?(" + PortRegex + "))?\\..*$"
|
||||
)
|
||||
|
||||
var NameFilter = regexp.MustCompile(PWDHostPortGroupRegex)
|
||||
var AliasFilter = regexp.MustCompile(AliasPortGroupRegex)
|
||||
var (
|
||||
NameFilter = regexp.MustCompile(PWDHostPortGroupRegex)
|
||||
AliasFilter = regexp.MustCompile(AliasPortGroupRegex)
|
||||
)
|
||||
|
||||
var PortNumber, SessionsFile, PWDContainerName, L2ContainerName, L2Subdomain, HashKey, SSHKeyPath, L2RouterIP, CookieHashKey, CookieBlockKey string
|
||||
var UseLetsEncrypt, ExternalDindVolume, NoWindows bool
|
||||
var LetsEncryptCertsDir string
|
||||
var MaxLoadAvg float64
|
||||
var ForceTLS bool
|
||||
var SecureCookie *securecookie.SecureCookie
|
||||
var AdminToken string
|
||||
var (
|
||||
PortNumber, SessionsFile, PWDContainerName, L2ContainerName, L2Subdomain, HashKey, SSHKeyPath, L2RouterIP, CookieHashKey, CookieBlockKey string
|
||||
UseLetsEncrypt, ExternalDindVolume, NoWindows bool
|
||||
LetsEncryptCertsDir string
|
||||
MaxLoadAvg float64
|
||||
ForceTLS bool
|
||||
SecureCookie *securecookie.SecureCookie
|
||||
AdminToken string
|
||||
)
|
||||
|
||||
// Unsafe enables a number of unsafe features when set. It is principally
|
||||
// intended to be used in development. For example, it allows the caller to
|
||||
@@ -71,5 +75,4 @@ func ParseFlags() {
|
||||
flag.Parse()
|
||||
|
||||
SecureCookie = securecookie.New([]byte(CookieHashKey), []byte(CookieBlockKey))
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user