1
0
Fork 0
mirror of https://github.com/portainer/portainer.git synced 2025-07-22 14:59:41 +02:00

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
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
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)