use cluster endpoint API to detect erasure coded setup (#1057)
This commit is contained in:
@@ -58,7 +58,6 @@ func configureFlags(api *operations.ConsoleAPI) {
|
||||
}
|
||||
|
||||
func configureAPI(api *operations.ConsoleAPI) http.Handler {
|
||||
|
||||
// Applies when the "x-token" header is set
|
||||
api.KeyAuth = func(token string, scopes []string) (*models.Principal, error) {
|
||||
// we are validating the session token by decrypting the claims inside, if the operation succeed that means the jwt
|
||||
|
||||
Reference in New Issue
Block a user