This commit is contained in:
Luke Murphy 2020-03-15 12:47:49 +01:00
parent 487b59c994
commit ba6c2ff2d4
No known key found for this signature in database
GPG Key ID: 5E2EF5A63E3718CC
1 changed files with 1 additions and 1 deletions

View File

@ -22,7 +22,7 @@ setup_root_user() {
if [[ "${user_count}" == "0" ]]; then
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"
else
echo "=====> Failed to add root user"