From 01e67eb5c0fb02fb932b7cd007596a6356b2fb97 Mon Sep 17 00:00:00 2001 From: S Date: Sun, 1 Mar 2026 10:35:02 -0500 Subject: [PATCH] chore: remove stale validate_ssl_mode() and ssl_mode hint from common.sh Co-Authored-By: Claude Opus 4.6 --- lib/common.sh | 5 ----- 1 file changed, 5 deletions(-) diff --git a/lib/common.sh b/lib/common.sh index dd25329..07b666b 100644 --- a/lib/common.sh +++ b/lib/common.sh @@ -173,10 +173,6 @@ validate_password() { [[ ${#1} -ge 8 ]] } -validate_ssl_mode() { - [[ "$1" == "letsencrypt" ]] || [[ "$1" == "existing" ]] -} - validate_tls_mode() { [[ "$1" == "cloudflare" ]] || [[ "$1" == "existing" ]] } @@ -278,7 +274,6 @@ _validator_hint() { positive_integer) echo "must be a positive integer (>= 1)" ;; nonempty) echo "cannot be empty" ;; password) echo "must be at least 8 characters" ;; - ssl_mode) echo "must be letsencrypt or existing" ;; tls_mode) echo "must be cloudflare or existing" ;; db_type) echo "must be sqlite3, mysql, postgres, or mssql" ;; optional) echo "any value or empty" ;;