diff options
author | Simon L <szaimen@e.mail.de> | 2022-02-08 12:31:06 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-02-08 12:31:06 +0100 |
commit | e2b83915a0c9695d0716978308959ab1325209cc (patch) | |
tree | 4f4cf7fa6af5f07cb9847bae418384048e809a0f /apps | |
parent | d405b5f664d0b1f684586df5595f55e6cfe3186e (diff) | |
parent | 5c821c713669d138f0dfa910163dd4770fb59a1c (diff) | |
download | nextcloud-server-e2b83915a0c9695d0716978308959ab1325209cc.tar.gz nextcloud-server-e2b83915a0c9695d0716978308959ab1325209cc.zip |
Merge pull request #28941 from howardZa/feature/allow_s3_access_wo_auth
Add SCHEME_NULL to list of allowed auth mechanism
Diffstat (limited to 'apps')
-rw-r--r-- | apps/files_external/lib/Lib/Backend/AmazonS3.php | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/apps/files_external/lib/Lib/Backend/AmazonS3.php b/apps/files_external/lib/Lib/Backend/AmazonS3.php index d85ac3639da..26da263f094 100644 --- a/apps/files_external/lib/Lib/Backend/AmazonS3.php +++ b/apps/files_external/lib/Lib/Backend/AmazonS3.php @@ -25,6 +25,7 @@ namespace OCA\Files_External\Lib\Backend; use OCA\Files_External\Lib\Auth\AmazonS3\AccessKey; +use OCA\Files_External\Lib\Auth\AuthMechanism; use OCA\Files_External\Lib\DefinitionParameter; use OCA\Files_External\Lib\LegacyDependencyCheckPolyfill; use OCP\IL10N; @@ -54,6 +55,7 @@ class AmazonS3 extends Backend { ->setType(DefinitionParameter::VALUE_BOOLEAN), ]) ->addAuthScheme(AccessKey::SCHEME_AMAZONS3_ACCESSKEY) + ->addAuthScheme(AuthMechanism::SCHEME_NULL) ->setLegacyAuthMechanism($legacyAuth) ; } |