mirror of
https://github.com/pgsty/minio.git
synced 2026-08-10 08:13:28 +03:00
Fixing ineffssaign errors (#2608)
This commit is contained in:
committed by
Harshavardhana
parent
a1f922315b
commit
1ce339abeb
@@ -42,9 +42,6 @@ func newJWT(expiry time.Duration) (*JWT, error) {
|
||||
if serverConfig == nil {
|
||||
return nil, errors.New("Server not initialzed")
|
||||
}
|
||||
if expiry == 0 {
|
||||
expiry = defaultTokenExpiry
|
||||
}
|
||||
|
||||
// Save access, secret keys.
|
||||
cred := serverConfig.GetCredential()
|
||||
|
||||
Reference in New Issue
Block a user