You've already forked focalboard
mirror of
https://github.com/mattermost/focalboard.git
synced 2025-07-15 23:54:29 +02:00
More work on auth
This commit is contained in:
@ -21,10 +21,11 @@ import (
|
||||
|
||||
type API struct {
|
||||
appBuilder func() *app.App
|
||||
singleUser bool
|
||||
}
|
||||
|
||||
func NewAPI(appBuilder func() *app.App) *API {
|
||||
return &API{appBuilder: appBuilder}
|
||||
func NewAPI(appBuilder func() *app.App, singleUser bool) *API {
|
||||
return &API{appBuilder: appBuilder, singleUser: singleUser}
|
||||
}
|
||||
|
||||
func (a *API) app() *app.App {
|
||||
|
Reference in New Issue
Block a user