How to disable mail confirmation to create admins

our email system is broken and due to it being maintained by a third party, we cant access the db directly. i need to grant admin access to a user, but i cant because it requires an email confirmation. i have tried numerous solutions around this but i cant seem to do it, and the only option seems to be to give the other administrator my personal user and password because it is broken. is there a way to disable it? (grant moderation works but grant admin does not). it would be really great to not have these artificial hurdles that cause enormous developer pain for a false sense of security, and then force people to do extremely insecure things to get around these hurdles.


given that you can log in to the server

cd /var/discourse
./launcher enter app
rake admin:create