diff options
Diffstat (limited to 'services/auth')
-rw-r--r-- | services/auth/source/oauth2/jwtsigningkey.go | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/services/auth/source/oauth2/jwtsigningkey.go b/services/auth/source/oauth2/jwtsigningkey.go index 720a9a33f7..3102be5f14 100644 --- a/services/auth/source/oauth2/jwtsigningkey.go +++ b/services/auth/source/oauth2/jwtsigningkey.go @@ -15,7 +15,6 @@ import ( "encoding/base64" "encoding/pem" "fmt" - "io/ioutil" "math/big" "os" "path/filepath" @@ -429,7 +428,7 @@ func loadOrCreateAsymmetricKey() (interface{}, error) { } } - bytes, err := ioutil.ReadFile(keyPath) + bytes, err := os.ReadFile(keyPath) if err != nil { return nil, err } |