Browse Source

Fixed http auth display

bugfixes
Mitesh Shah 10 years ago
parent
commit
b4469a7e8a
  1. 6
      bin/easyengine
  2. 2
      src/modules/stack/install/ee_mod_setup_nginx.sh

6
bin/easyengine

@ -220,6 +220,9 @@ elif [ "$EE_FIRST" = "stack" ] || [ "$EE_FIRST" = "system" ]; then
fi
fi
# Display success message
if [ "$EE_THIRD" = "" ] || [ "$EE_THIRD" = "web" ]; then
EE_THIRD="Web packages"
fi
ee_lib_echo "$EE_THIRD successfully installed"
# EasyEngine remove/purge
@ -293,6 +296,9 @@ elif [ "$EE_FIRST" = "stack" ] || [ "$EE_FIRST" = "system" ]; then
fi
# Display success message
if [ "$EE_THIRD" = "" ] || [ "$EE_THIRD" = "web" ]; then
EE_THIRD="Web packages"
fi
if [ "$EE_SECOND" = "remove" ];then
ee_lib_echo "$EE_THIRD successfully removed"
elif [ "$EE_SECOND" = "purge" ];then

2
src/modules/stack/install/ee_mod_setup_nginx.sh

@ -98,6 +98,8 @@ function ee_mod_setup_nginx()
# Generate htpasswd-ee file
if [ ! -f /etc/nginx/htpasswd-ee ]; then
# Export EE_DISPLAY variable to Display ee http auth after site creation.
export EE_DISPLAY=true
# Use same variable name as used in ee_mod_secure_auth function
EE_HTTP_AUTH_USER=easyengine
EE_HTTP_AUTH_PASS=$ee_random

Loading…
Cancel
Save