mirror of
https://github.com/drakkan/sftpgo.git
synced 2025-12-07 14:50:55 +03:00
allow to store temporary sessions within the data provider
so we can persist password reset codes, OIDC auth sessions and tokens. These features will also work in multi-node setups without sicky sessions now Signed-off-by: Nicola Murino <nicola.murino@gmail.com>
This commit is contained in:
@@ -186,7 +186,8 @@ func (s *Service) startServices() {
|
||||
|
||||
if httpdConf.ShouldBind() {
|
||||
go func() {
|
||||
if err := httpdConf.Initialize(s.ConfigDir); err != nil {
|
||||
providerConf := config.GetProviderConf()
|
||||
if err := httpdConf.Initialize(s.ConfigDir, providerConf.GetShared()); err != nil {
|
||||
logger.Error(logSender, "", "could not start HTTP server: %v", err)
|
||||
logger.ErrorToConsole("could not start HTTP server: %v", err)
|
||||
s.Error = err
|
||||
|
||||
Reference in New Issue
Block a user