Skip to content

Commit 57e1bb0

Browse files
author
Kristan Kenney
committed
Adjustment to demo mode restrictions
1 parent ad03702 commit 57e1bb0

File tree

2 files changed

+3
-4
lines changed

2 files changed

+3
-4
lines changed

bin/v-add-mail-account

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -44,10 +44,6 @@ is_package_full 'MAIL_ACCOUNTS'
4444
is_mail_new "$account"
4545
is_password_valid
4646

47-
48-
# Perform verification if read-only mode is enabled
49-
check_hestia_demo_mode
50-
5147
#----------------------------------------------------------#
5248
# Action #
5349
#----------------------------------------------------------#

bin/v-delete-dns-domain

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -34,6 +34,9 @@ is_object_valid 'dns' 'DOMAIN' "$domain"
3434
is_object_unsuspended 'dns' 'DOMAIN' "$domain"
3535

3636

37+
# Perform verification if read-only mode is enabled
38+
check_hestia_demo_mode
39+
3740
#----------------------------------------------------------#
3841
# Action #
3942
#----------------------------------------------------------#

0 commit comments

Comments
 (0)