aboutsummaryrefslogtreecommitdiffhomepage
path: root/server/helpers/custom-validators/users.ts
diff options
context:
space:
mode:
Diffstat (limited to 'server/helpers/custom-validators/users.ts')
-rw-r--r--server/helpers/custom-validators/users.ts9
1 files changed, 2 insertions, 7 deletions
diff --git a/server/helpers/custom-validators/users.ts b/server/helpers/custom-validators/users.ts
index 5b21c3529..f52c60b60 100644
--- a/server/helpers/custom-validators/users.ts
+++ b/server/helpers/custom-validators/users.ts
@@ -81,11 +81,7 @@ function isUserAutoPlayNextVideoPlaylistValid (value: any) {
81 return isBooleanValid(value) 81 return isBooleanValid(value)
82} 82}
83 83
84function isNoInstanceConfigWarningModal (value: any) { 84function isUserNoModal (value: any) {
85 return isBooleanValid(value)
86}
87
88function isNoWelcomeModal (value: any) {
89 return isBooleanValid(value) 85 return isBooleanValid(value)
90} 86}
91 87
@@ -119,6 +115,5 @@ export {
119 isUserAutoPlayNextVideoPlaylistValid, 115 isUserAutoPlayNextVideoPlaylistValid,
120 isUserDisplayNameValid, 116 isUserDisplayNameValid,
121 isUserDescriptionValid, 117 isUserDescriptionValid,
122 isNoInstanceConfigWarningModal, 118 isUserNoModal
123 isNoWelcomeModal
124} 119}