Skip to content

Commit

Permalink
Forgot to add the base dn
Browse files Browse the repository at this point in the history
  • Loading branch information
COMTOP1 committed Aug 26, 2023
1 parent 5e0a941 commit 9c98853
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions cmd/stv-web/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -94,7 +94,7 @@ func main() {
BypassPassword: os.Getenv("STV_AD_BYPASS_PASSWORD"),
Server: os.Getenv("STV_AD_SERVER"),
Port: adPort,
BaseDN: "",
BaseDN: os.Getenv("STV_AD_BASE_DN"),
Security: adSecurity,
Bind: structs.ADBind{
Username: os.Getenv("STV_AD_BIND_USERNAME"),
Expand All @@ -112,8 +112,6 @@ func main() {
}
}

log.Println(config)

if config.Server.Debug {
log.SetFlags(log.Llongfile)
fmt.Println()
Expand Down

0 comments on commit 9c98853

Please sign in to comment.