docker exec -it harbor-db psql -U postgres -d registry -c "SELECT user_id, username FROM harbor_user WHERE username = '###';"UPDATE harbor_user SET salt='', password='' WHERE user_id = <ID>; (user_id from Step 1)3.2
Harbor validation logic prevents a password update if the new entry matches the current stored hash. Standard database manipulation may fail if the harbor-core service is not restarted or if the API prevents transitions from a null state.
Administration > Users, select the user, and click Delete. Note: This will remove the user from all project memberships.