You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
* Change the order of commands to be able to cache more layers in case of multiple builds triggered in a row
* Fixfilebrowser#471
* Format Code
* Revert "Change the order of commands to be able to cache more layers in case of multiple builds triggered in a row"
This reverts commit 01362f3.
* Adjustment based on the review
* Rename "login-header" to "loginHeader" and prepare auth.method to accept "none" as a value
* Fixed line break
* Readd "lumberjack.v2" import which was removed by gofmt
Sorry - I do my tests and run "gofmt" before comitting the changes - It sadly seems like it is messing up the imports over and over again.
log.Fatal("The property 'auth.method' needs to be set to 'default' or 'proxy'.")
180
+
}
181
+
182
+
ifviper.GetString("AuthMethod") =="proxy" {
183
+
ifviper.GetString("LoginHeader") =="" {
184
+
log.Fatal("The 'loginHeader' needs to be specified when 'proxy' authentication is used.")
185
+
}
186
+
log.Println("[WARN] Filebrowser authentication is configured to 'proxy' authentication. This can cause a huge security issue if the infrastructure is not configured correctly.")
0 commit comments