mirror of
https://github.com/seaweedfs/seaweedfs.git
synced 2026-10-13 01:28:37 +02:00
filer_signing.read despite of filer_signing key
This commit is contained in:
1 parent
724731d26f
commit
1b06f6850a
1 file changed
+1
-1
@@ -621,7 +621,7 @@ func (h *FileBrowserHandlers) DownloadFile(c *gin.Context) {
|
||||
v := util.GetViper()
|
||||
|
||||
// Read Filer JWT token from security.toml
|
||||
signingKey := security.SigningKey(v.GetString("jwt.filer_signing.key"))
|
||||
signingKey := security.SigningKey(v.GetString("jwt.filer_signing.read.key"))
|
||||
expiresAfterSec := v.GetInt("jwt.filer_signing.expires_after_seconds")
|
||||
|
||||
// Generate JWT token to authenticate with Filer
|
||||
|
||||
Reference in new issue
Block a user