Fix typo
This commit is contained in:
parent
487b59c994
commit
ba6c2ff2d4
@ -22,7 +22,7 @@ setup_root_user() {
|
|||||||
|
|
||||||
if [[ "${user_count}" == "0" ]]; then
|
if [[ "${user_count}" == "0" ]]; then
|
||||||
echo "=====> Setting up root user for initial deployment"
|
echo "=====> Setting up root user for initial deployment"
|
||||||
if gitea admin createuser username "$ADMIN_USER" password "$ADMIN_PASS" email "$ADMIN_MAIL" admin; then
|
if gitea admin create-user username "$ADMIN_USER" password "$ADMIN_PASS" email "$ADMIN_MAIL" admin; then
|
||||||
echo "=====> root user added"
|
echo "=====> root user added"
|
||||||
else
|
else
|
||||||
echo "=====> Failed to add root user"
|
echo "=====> Failed to add root user"
|
||||||
|
Reference in New Issue
Block a user