From 702c092289a03b16cfae4ac41fbff34230b9600f Mon Sep 17 00:00:00 2001 From: johnnyjoy Date: Mon, 20 Jan 2025 19:38:50 +0800 Subject: [PATCH] chore: update auth message --- server/router/api/v1/auth_service.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/server/router/api/v1/auth_service.go b/server/router/api/v1/auth_service.go index bb7f0339..30d87905 100644 --- a/server/router/api/v1/auth_service.go +++ b/server/router/api/v1/auth_service.go @@ -115,7 +115,7 @@ func (s *APIV1Service) SignInWithSSO(ctx context.Context, request *v1pb.SignInWi return nil, status.Errorf(codes.Internal, "failed to compile identifier filter regex, error: %v", err) } if !identifierFilterRegex.MatchString(userInfo.Identifier) { - return nil, status.Errorf(codes.PermissionDenied, "identifier %s does not match the filter %s", userInfo.Identifier, identifierFilter) + return nil, status.Errorf(codes.PermissionDenied, "identifier %s is not allowed", userInfo.Identifier) } }