Merge pull request #3798 from wkloucek/app-provider-unused-transfer-secret

remove unused transfer secret from app provider
This commit is contained in:
Willy Kloucek
2022-05-16 09:46:51 +02:00
committed by GitHub
2 changed files with 8 additions and 4 deletions
@@ -0,0 +1,8 @@
Bugfix: Remove unused transfer secret from app provider
We've fixed the startup of the app provider by removing the startup dependency
on a configured transfer secret, which was not used. This only happend if you
start the app provider without runtime (eg. `ocis app-provider server`) and didn't
have configured all oCIS secrets.
https://github.com/owncloud/ocis/pull/3798
@@ -38,9 +38,5 @@ func Validate(cfg *config.Config) error {
return shared.MissingJWTTokenError(cfg.Service.Name)
}
if cfg.TransferSecret == "" {
return shared.MissingRevaTransferSecretError(cfg.Service.Name)
}
return nil
}