fix(public-share): basic auth password prefix
fix wrong basic auth password prefix
This commit is contained in:
1 parent
33649efc75
commit
b416763599
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.
|
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/2536
|
||||||
|
https://github.com/owncloud/ocis/pull/2652
|
||||||
https://github.com/owncloud/ocis/issues/2479
|
https://github.com/owncloud/ocis/issues/2479
|
||||||
@@ -9,7 +9,7 @@ import (
|
|||||||
const (
|
const (
|
||||||
headerRevaAccessToken = "x-access-token"
|
headerRevaAccessToken = "x-access-token"
|
||||||
headerShareToken = "public-token"
|
headerShareToken = "public-token"
|
||||||
basicAuthPasswordPrefix = "basic|"
|
basicAuthPasswordPrefix = "password|"
|
||||||
authenticationType = "publicshares"
|
authenticationType = "publicshares"
|
||||||
)
|
)
|
||||||
|
|
||||||
|
|||||||
Reference in new issue
Block a user