Unable to log in as admin

Borrowing this thread.

I just updated my ghost service on my self-hosted coolify server, and now I am effectively locked out of my CMS admin backend since I have not setup an smtp server, and this option was toggled on automatically.

From what I gather it is impossible to set this as an env variable and have ghost pick it u? Is there anything I can do to enable logging in without email confirmations in my setup?

Thanks