From 8f581725651c4b2c213d75fc028e306bbf239d3e Mon Sep 17 00:00:00 2001 From: Chocobozzz Date: Fri, 27 Aug 2021 10:15:55 +0200 Subject: Allow accounts to skip account setup modal --- server/helpers/custom-validators/users.ts | 9 ++------- 1 file changed, 2 insertions(+), 7 deletions(-) (limited to 'server/helpers/custom-validators') 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) { return isBooleanValid(value) } -function isNoInstanceConfigWarningModal (value: any) { - return isBooleanValid(value) -} - -function isNoWelcomeModal (value: any) { +function isUserNoModal (value: any) { return isBooleanValid(value) } @@ -119,6 +115,5 @@ export { isUserAutoPlayNextVideoPlaylistValid, isUserDisplayNameValid, isUserDescriptionValid, - isNoInstanceConfigWarningModal, - isNoWelcomeModal + isUserNoModal } -- cgit v1.2.3