UI: persist experimental flag (BC) (#27074)
This commit is contained in:
parent
3f1df220b5
commit
4c5935b60d
52 changed files with 137 additions and 112 deletions
|
|
@ -1175,3 +1175,9 @@ func configureAuth(router *mux.Router, paramC chan<- util.Param) {
|
|||
// wire the handler
|
||||
providerauth.Setup(auth, paramC)
|
||||
}
|
||||
|
||||
// isExperimental returns if experimental features are enabled
|
||||
func isExperimental() bool {
|
||||
b, _ := settings.Bool(keys.Experimental)
|
||||
return b
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue