Skip to content
Merged

EspoCRM #2347

Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
fix(espocrm): only print the admin password when it was generated
A password supplied via var_admin_pass is marked secret; echoing it back
defeated that.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
  • Loading branch information
Masked-Kunsiquat and claude committed Oct 3, 2026
commit 0fd9e8f3397cd0162eb1b6dd87100f56e848086a
4 changes: 3 additions & 1 deletion install/espocrm-install.sh
Original file line number Diff line number Diff line change
Expand Up @@ -17,8 +17,10 @@ if [[ -z "${var_admin_user:-}" ]]; then
var_admin_user=$(prompt_input "EspoCRM admin username:" "admin" 60)
fi
var_admin_user="${var_admin_user:-admin}"
admin_pass_display="(as supplied)"
if [[ -z "${var_admin_pass:-}" ]]; then
var_admin_pass=$(random_password 16)
admin_pass_display="$var_admin_pass"
fi

msg_info "Installing Dependencies"
Expand Down Expand Up @@ -129,7 +131,7 @@ EOF
systemctl enable -q --now cron
msg_ok "Set up Cron"

echo -e "${INFO}${YW}EspoCRM admin login:${CL} ${BGN}${var_admin_user}${CL} / ${BGN}${var_admin_pass}${CL}"
echo -e "${INFO}${YW}EspoCRM admin login:${CL} ${BGN}${var_admin_user}${CL} / ${BGN}${admin_pass_display}${CL}"
Comment thread
CrazyWolf13 marked this conversation as resolved.
Resolved

motd_ssh
customize
Expand Down