1
0
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:
Alexandre Iooss
2020-09-22 16:39:06 +02:00
parent c1de814a2a
commit 46d643de04
8 changed files with 124 additions and 16 deletions

View File

@ -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")