HajTex_living_with_keycloak/docker/compose/check_users/delete_user.sh

10 lines
265 B
Bash
Raw Permalink Normal View History

2024-12-30 02:50:43 +01:00
#!/bin/bash
if [ -z "$1" ]; then
echo "Error: Email address not provided"
echo "Usage: $0 <email_address>"
exit 1
fi
docker exec overleafserver /bin/bash -ce "cd /overleaf/services/web && node modules/server-ce-scripts/scripts/delete-user --email=$1"