Init config

This commit is contained in:
konrad 2019-03-24 09:06:54 +01:00
parent 1ddbccd6c8
commit fcc8b45b7e
Signed by: konrad
GPG Key ID: F40E70337AB24C9B
1 changed files with 4 additions and 0 deletions

View File

@ -28,6 +28,10 @@ type Config struct {
var config *Config
func init() {
config = &Config{}
}
func SetAuthProvider(provider *web.Auths) {
config.AuthProvider = provider
}