From 74b2f8f6a15acd375871560c95561e7525f65720 Mon Sep 17 00:00:00 2001 From: apolopena <3060702+apolopena@users.noreply.github.com> Date: Sun, 21 Mar 2021 13:20:07 -0700 Subject: [PATCH] =?UTF-8?q?=F0=9F=91=8C=20IMPROVE:=20https://github.com/ap?= =?UTF-8?q?olopena/gitpod-laravel8-starter/issues/65=20Add=20log=20message?= =?UTF-8?q?=20to=20summary?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- bash/helpers.sh | 8 ++++++-- bash/snippets/messages/phpmyadmin-security.txt | 3 +++ 2 files changed, 9 insertions(+), 2 deletions(-) create mode 100644 bash/snippets/messages/phpmyadmin-security.txt diff --git a/bash/helpers.sh b/bash/helpers.sh index df354727..f0954b02 100644 --- a/bash/helpers.sh +++ b/bash/helpers.sh @@ -13,7 +13,7 @@ # version () { - echo "helpers.sh version 0.0.5" + echo "helpers.sh version 0.0.6" } # start_server @@ -117,7 +117,11 @@ show_first_run_summary() { echo '' cat $init_log echo -en "\e[0m" - echo -en "\n\e[38;5;171mALL DONE 🚀\e[0m\n" + [ -d 'public/phpmyadmin' ] && + echo -en "\e[38;5;208m" && + cat bash/snippets/messages/phpmyadmin-security.txt && + echo -e "\e[0m" + echo -en "\e\n[38;5;171mALL DONE 🚀\e[0m\n" } # get_starter_env_val diff --git a/bash/snippets/messages/phpmyadmin-security.txt b/bash/snippets/messages/phpmyadmin-security.txt new file mode 100644 index 00000000..7375fe51 --- /dev/null +++ b/bash/snippets/messages/phpmyadmin-security.txt @@ -0,0 +1,3 @@ +You have installed phpMyAdmin with default user account passwords. +This is a security concern and be addressed easily. +See https://github.com/apolopena/gitpod-laravel8-starter/blob/main/README.md \ No newline at end of file