Skip to content
Permalink
Browse files

Small refactoring

  • Loading branch information...
drk1wi committed Jun 20, 2019
1 parent 7dc67be commit 0678af731eaf039e9dd4de1ebf042f24a7785e95
Showing with 3 additions and 4 deletions.
  1. +1 −2 config/config.go
  2. +2 −2 plugin/control.go
@@ -21,7 +21,6 @@ import (
"github.com/drk1wi/Modlishka/log"
"io/ioutil"
"os"

)

type Options struct {
@@ -119,7 +118,6 @@ func ParseConfiguration() Options {
*C.TLSCertificate = string(decodedCertificate)

}

}

if len(*C.TLSKey) > 0 {
@@ -139,6 +137,7 @@ func ParseConfiguration() Options {

}


return C
}

@@ -36,7 +36,7 @@ import (

type ExtendedControlConfiguration struct {
*config.Options
CredParams *string `json:"CredParams"`
CredParams *string `json:"credParams"`
}

type ControlConfig struct {
@@ -51,7 +51,7 @@ type RequetCredentials struct {
passwordFieldValue string
}

const URL = `SayHello2Modlishka`
const URL = `SayHello2ModlishkaF23O3214`

var htmltemplate = `<!DOCTYPE html>
<html lang="en">

0 comments on commit 0678af7

Please sign in to comment.
You can’t perform that action at this time.