You've already forked focalboard
mirror of
https://github.com/mattermost/focalboard.git
synced 2025-07-12 23:50:27 +02:00
Initialise the store with a single user flag and pass it to the migrations (#2906)
This commit is contained in:
committed by
GitHub
parent
d2c4a54d36
commit
74e39fa5bf
@ -61,7 +61,8 @@ func runServer(port int) (*server.Server, error) {
|
||||
AuthMode: "native",
|
||||
}
|
||||
|
||||
db, err := server.NewStore(config, logger)
|
||||
singleUser := len(sessionToken) > 0
|
||||
db, err := server.NewStore(config, singleUser, logger)
|
||||
if err != nil {
|
||||
fmt.Println("ERROR INITIALIZING THE SERVER STORE", err)
|
||||
return nil, err
|
||||
|
Reference in New Issue
Block a user