all: session storage usage
This commit is contained in:
@@ -2,6 +2,7 @@ package home
|
||||
|
||||
import (
|
||||
"bytes"
|
||||
"context"
|
||||
"fmt"
|
||||
"net/netip"
|
||||
"os"
|
||||
@@ -748,7 +749,8 @@ func (c *configuration) write(tlsMgr *tlsManager) (err error) {
|
||||
defer c.Unlock()
|
||||
|
||||
if globalContext.auth != nil {
|
||||
config.Users = globalContext.auth.usersList()
|
||||
// TODO(s.chzhen): Pass context.
|
||||
config.Users = globalContext.auth.usersList(context.TODO())
|
||||
}
|
||||
|
||||
if tlsMgr != nil {
|
||||
|
||||
Reference in New Issue
Block a user