mirror of
https://github.com/drakkan/sftpgo.git
synced 2025-12-07 14:50:55 +03:00
REST API: add events search
This commit is contained in:
@@ -422,6 +422,11 @@ func GetPluginsConfig() []plugin.Config {
|
||||
return globalConf.PluginsConfig
|
||||
}
|
||||
|
||||
// SetPluginsConfig sets the plugin configuration
|
||||
func SetPluginsConfig(config []plugin.Config) {
|
||||
globalConf.PluginsConfig = config
|
||||
}
|
||||
|
||||
// GetMFAConfig returns multi-factor authentication config
|
||||
func GetMFAConfig() mfa.Config {
|
||||
return globalConf.MFAConfig
|
||||
|
||||
Reference in New Issue
Block a user