kutt
kutt copied to clipboard
How to use Kutt without SMTP server
I do not have email server and I do not want to use any email functions, this is just for myself.
-
First, in the env file leave all the mail variables empty, (I had to put a port number, if not it will fail on start)
-
Make sure to also add an admin account in the ADMIN_EMAILS (env file)
-
Start the app, and "Sign Up" with the admin user and a password, it will fail, but you can activate the user by postgress.
-
Connect to your postgress instance and verify the user manually.
psql -U postgress -d kutt
UPDATE users
SET verification_expires=NULL,
verification_token='',
verified=true
WHERE email='[email protected]';`
5. Now you can login.