kutt icon indicating copy to clipboard operation
kutt copied to clipboard

How to use Kutt without SMTP server

Open HongLouWang opened this issue 1 year ago • 1 comments

I do not have email server and I do not want to use any email functions, this is just for myself.

HongLouWang avatar Jun 10 '24 12:06 HongLouWang

  1. 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)

  2. Make sure to also add an admin account in the ADMIN_EMAILS (env file)

  3. Start the app, and "Sign Up" with the admin user and a password, it will fail, but you can activate the user by postgress.

  4. 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.

carlgira avatar Oct 07 '24 23:10 carlgira