chore: fix check enable signup

This commit is contained in:
Steven
2023-09-24 23:46:28 +08:00
parent fc8808ce04
commit 60c440ae10
3 changed files with 3 additions and 2 deletions

View File

@ -4,6 +4,7 @@ import "strings"
var allowedMethodsWhenUnauthorized = map[string]bool{
"/slash.api.v2.WorkspaceService/GetWorkspaceProfile": true,
"/slash.api.v2.WorkspaceService/GetWorkspaceSetting": true,
}
// isUnauthorizeAllowedMethod returns true if the method is allowed to be called when the user is not authorized.