feat(cache): default to off [EE-6293] (#10867)

Co-authored-by: testa113 <testa113>
This commit is contained in:
Ali
2023-12-19 12:13:44 +13:00
committed by GitHub
parent 5f1f797281
commit e84dd27e88
5 changed files with 3 additions and 24 deletions

View File

@@ -65,7 +65,6 @@ func (handler *Handler) adminInit(w http.ResponseWriter, r *http.Request) *httpe
user := &portainer.User{
Username: payload.Username,
Role: portainer.AdministratorRole,
UseCache: true,
}
user.Password, err = handler.CryptoService.Hash(payload.Password)

View File

@@ -65,7 +65,6 @@ func (handler *Handler) userCreate(w http.ResponseWriter, r *http.Request) *http
user = &portainer.User{
Username: payload.Username,
Role: portainer.UserRole(payload.Role),
UseCache: true,
}
settings, err := handler.DataStore.Settings().Settings()