Skip to content

Commit

Permalink
fix(start): add hint about password update
Browse files Browse the repository at this point in the history
  • Loading branch information
nijel committed Jun 21, 2024
1 parent ce34e64 commit f213eb3
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions start
Original file line number Diff line number Diff line change
Expand Up @@ -220,6 +220,7 @@ if [ "$1" = "runserver" ] ; then

# Create or update admin account
if [ -n "$WEBLATE_ADMIN_PASSWORD" ] ; then
echo "Updating admin user password (unset WEBLATE_ADMIN_PASSWORD to disable)..."
run_weblate createadmin --password="$WEBLATE_ADMIN_PASSWORD" --update --email="$WEBLATE_ADMIN_EMAIL" --name="$WEBLATE_ADMIN_NAME"
else
run_weblate createadmin --email="$WEBLATE_ADMIN_EMAIL" --name="$WEBLATE_ADMIN_NAME" || true
Expand Down

0 comments on commit f213eb3

Please sign in to comment.