Sanitize team data
We don't want to expose sensitive data that might pose a security risk.
Этот коммит содержится в:
@@ -219,3 +219,9 @@ func CleanTeamName(s string) string {
|
||||
|
||||
func (o *Team) PreExport() {
|
||||
}
|
||||
|
||||
func (o *Team) Sanitize() {
|
||||
o.Email = ""
|
||||
o.Type = ""
|
||||
o.AllowedDomains = ""
|
||||
}
|
||||
|
||||
Ссылка в новой задаче
Block a user