From 869c0d47416f2a405274a9be2d54034f6e0b1fd2 Mon Sep 17 00:00:00 2001 From: Christian Richter Date: Thu, 28 Mar 2024 11:19:44 +0100 Subject: [PATCH] add configuration for email-masking in sharee search results Signed-off-by: Christian Richter --- services/ocs/pkg/config/reva.go | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/services/ocs/pkg/config/reva.go b/services/ocs/pkg/config/reva.go index 8413904dab..733e362555 100644 --- a/services/ocs/pkg/config/reva.go +++ b/services/ocs/pkg/config/reva.go @@ -2,5 +2,6 @@ package config // TokenManager is the config for using the reva token manager type TokenManager struct { - JWTSecret string `yaml:"jwt_secret" env:"OCIS_JWT_SECRET;OCS_JWT_SECRET" desc:"The secret to mint and validate jwt tokens." introductionVersion:"pre5.0"` + JWTSecret string `yaml:"jwt_secret" env:"OCIS_JWT_SECRET;OCS_JWT_SECRET" desc:"The secret to mint and validate jwt tokens." introductionVersion:"pre5.0"` + ShowUserEmailInResults bool `yaml:"mask_user_email" env:"OCIS_SHOW_USER_EMAIL_IN_RESULTS;OCS_SHOW_USER_EMAIL_IN_RESULTS" desc:"Mask user email addresses in responses." introductionVersion:"5.1"` }