mirror of
https://github.com/bitnami/containers.git
synced 2026-10-18 05:59:59 +02:00
[bitnami/mastodon] Fix logic to detect admin user exists (#50725)
This commit is contained in:
@@ -259,7 +259,7 @@ user.reset_password!
|
||||
user.reset_password('${MASTODON_ADMIN_PASSWORD}', '${MASTODON_ADMIN_PASSWORD}')
|
||||
EOF
|
||||
|
||||
elif [[ "$res" =~ "been taken" ]]; then
|
||||
elif [[ "$res" =~ "taken" ]]; then
|
||||
info "Admin user already exists. Skipping"
|
||||
else
|
||||
error "Error creating admin user"
|
||||
|
||||
Reference in New Issue
Block a user