mirror of
https://github.com/stefanpejcic/openpanel
synced 2025-06-26 18:28:26 +00:00
Update INSTALL.sh
This commit is contained in:
parent
8597f0ce9f
commit
d109a19e0f
10
INSTALL.sh
10
INSTALL.sh
@ -1436,8 +1436,14 @@ create_admin_and_show_logins_success_message() {
|
|||||||
new_username=($custom_username)
|
new_username=($custom_username)
|
||||||
else
|
else
|
||||||
wget -O /tmp/generate.sh https://gist.githubusercontent.com/stefanpejcic/905b7880d342438e9a2d2ffed799c8c6/raw/a1cdd0d2f7b28f4e9c3198e14539c4ebb9249910/random_username_generator_docker.sh > /dev/null 2>&1
|
wget -O /tmp/generate.sh https://gist.githubusercontent.com/stefanpejcic/905b7880d342438e9a2d2ffed799c8c6/raw/a1cdd0d2f7b28f4e9c3198e14539c4ebb9249910/random_username_generator_docker.sh > /dev/null 2>&1
|
||||||
source /tmp/generate.sh
|
|
||||||
new_username=($random_name)
|
if [ -f "/tmp/generate.sh" ]; then
|
||||||
|
source /tmp/generate.sh
|
||||||
|
new_username=($random_name)
|
||||||
|
else
|
||||||
|
new_username="admin"
|
||||||
|
fi
|
||||||
|
|
||||||
fi
|
fi
|
||||||
|
|
||||||
if [ "$SET_ADMIN_PASSWORD" = true ]; then
|
if [ "$SET_ADMIN_PASSWORD" = true ]; then
|
||||||
|
Loading…
Reference in New Issue
Block a user