* add more fields to sanitizeInput on User

* add test for user sanoitizeInput

* add more fields

* remove line, lint fix

* additional fields and sanitize update

* Update user_test.go

* remove fields that are unnecessary to check

* add check to test

---------

Co-authored-by: Mattermost Build <build@mattermost.com>
Этот коммит содержится в:
Scott Bishel
2024-07-16 11:39:47 -06:00
коммит произвёл GitHub
родитель e917709be5
Коммит ea6490a5eb
4 изменённых файлов: 79 добавлений и 7 удалений

Просмотреть файл

@@ -142,6 +142,10 @@
type: string
nickname:
type: string
position:
type: string
timezone:
$ref: "#/components/schemas/Timezone"
auth_data:
description: Service-specific authentication data, such as email address.
type: string
@@ -911,6 +915,8 @@
type: string
position:
type: string
timezone:
$ref: "#/components/schemas/Timezone"
props:
type: object
notify_props: