Merge pull request #2652 from owncloud/bauth-password-prefix

fix(public-share): basic auth password prefix
This commit is contained in:
David Christofas authored and GitHub committed 2021-10-20 15:11:34 +02:00
commit a759938a8d
2 files changed
+2 -1

No files matched your search

@@ -3,4 +3,5 @@ Enhancement: Add a middleware to authenticate public share requests
Added a new middleware to authenticate public share requests. This makes it possible to use APIs which require an authenticated context with public shares.
https://github.com/owncloud/ocis/pull/2536
https://github.com/owncloud/ocis/pull/2652
https://github.com/owncloud/ocis/issues/2479
+1 -1
View File
@@ -9,7 +9,7 @@ import (
const (
headerRevaAccessToken = "x-access-token"
headerShareToken = "public-token"
basicAuthPasswordPrefix = "basic|"
basicAuthPasswordPrefix = "password|"
authenticationType = "publicshares"
)