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.ts5
1 files changed, 5 insertions, 0 deletions
diff --git a/server/helpers/custom-validators/users.ts b/server/helpers/custom-validators/users.ts
index 16a95f120..008916a04 100644
--- a/server/helpers/custom-validators/users.ts
+++ b/server/helpers/custom-validators/users.ts
@@ -69,6 +69,10 @@ function isUserAutoPlayNextVideoValid (value: any) {
69 return isBooleanValid(value) 69 return isBooleanValid(value)
70} 70}
71 71
72function isUserAutoPlayNextVideoPlaylistValid (value: any) {
73 return isBooleanValid(value)
74}
75
72function isNoInstanceConfigWarningModal (value: any) { 76function isNoInstanceConfigWarningModal (value: any) {
73 return isBooleanValid(value) 77 return isBooleanValid(value)
74} 78}
@@ -111,6 +115,7 @@ export {
111 isUserWebTorrentEnabledValid, 115 isUserWebTorrentEnabledValid,
112 isUserAutoPlayVideoValid, 116 isUserAutoPlayVideoValid,
113 isUserAutoPlayNextVideoValid, 117 isUserAutoPlayNextVideoValid,
118 isUserAutoPlayNextVideoPlaylistValid,
114 isUserDisplayNameValid, 119 isUserDisplayNameValid,
115 isUserDescriptionValid, 120 isUserDescriptionValid,
116 isNoInstanceConfigWarningModal, 121 isNoInstanceConfigWarningModal,