forked from SW/traefik
Remove deprecated elements
This commit is contained in:
committed by
Traefiker Bot
parent
e92b01c528
commit
015cd7a3d0
@@ -137,14 +137,6 @@ func WithRoute(name string, rule string) func(*types.Route) string {
|
||||
}
|
||||
}
|
||||
|
||||
// WithBasicAuth is a helper to create a configuration
|
||||
// Deprecated
|
||||
func WithBasicAuth(username string, password string) func(*types.Frontend) {
|
||||
return func(fe *types.Frontend) {
|
||||
fe.BasicAuth = []string{username + ":" + password}
|
||||
}
|
||||
}
|
||||
|
||||
// WithFrontEndAuth is a helper to create a configuration
|
||||
func WithFrontEndAuth(auth *types.Auth) func(*types.Frontend) {
|
||||
return func(fe *types.Frontend) {
|
||||
|
||||
Reference in New Issue
Block a user