diff options
Diffstat (limited to 'internal/configuration/helpers.go')
| -rw-r--r-- | internal/configuration/helpers.go | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/internal/configuration/helpers.go b/internal/configuration/helpers.go index 43a54e179..0f5e0b215 100644 --- a/internal/configuration/helpers.go +++ b/internal/configuration/helpers.go @@ -1,7 +1,7 @@ package configuration import ( - "io/ioutil" + "os" "strings" "github.com/authelia/authelia/v4/internal/utils" @@ -46,7 +46,7 @@ func isSecretKey(key string) (isSecretKey bool) { } func loadSecret(path string) (value string, err error) { - content, err := ioutil.ReadFile(path) + content, err := os.ReadFile(path) if err != nil { return "", err } |
