Init config
This commit is contained in:
parent
1ddbccd6c8
commit
fcc8b45b7e
|
@ -28,6 +28,10 @@ type Config struct {
|
|||
|
||||
var config *Config
|
||||
|
||||
func init() {
|
||||
config = &Config{}
|
||||
}
|
||||
|
||||
func SetAuthProvider(provider *web.Auths) {
|
||||
config.AuthProvider = provider
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue