mirror of
https://gitlab.crans.org/nounous/ghostream.git
synced 2025-06-29 07:30:54 +02:00
Add basic and bypass auth methods
This commit is contained in:
2
main.go
2
main.go
@ -39,7 +39,7 @@ func loadConfiguration() {
|
||||
}
|
||||
|
||||
// Define configuration default values
|
||||
viper.SetDefault("Auth.Backend", "LDAP")
|
||||
viper.SetDefault("Auth.Backend", "Basic")
|
||||
viper.SetDefault("Auth.LDAP.URI", "ldap://127.0.0.1:389")
|
||||
viper.SetDefault("Auth.LDAP.UserDn", "cn=users,dc=example,dc=com")
|
||||
viper.SetDefault("Monitoring.ListenAddress", ":2112")
|
||||
|
Reference in New Issue
Block a user