mirror of
https://github.com/opencloud-eu/opencloud.git
synced 2026-01-28 16:01:18 -05:00
Merge pull request #2652 from owncloud/bauth-password-prefix
fix(public-share): basic auth password prefix
This commit is contained in:
@@ -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
|
||||
|
||||
@@ -9,7 +9,7 @@ import (
|
||||
const (
|
||||
headerRevaAccessToken = "x-access-token"
|
||||
headerShareToken = "public-token"
|
||||
basicAuthPasswordPrefix = "basic|"
|
||||
basicAuthPasswordPrefix = "password|"
|
||||
authenticationType = "publicshares"
|
||||
)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user