Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

How to use Kutt without SMTP server #749

Open
HongLouWang opened this issue Jun 10, 2024 · 1 comment
Open

How to use Kutt without SMTP server #749

HongLouWang opened this issue Jun 10, 2024 · 1 comment

Comments

@HongLouWang
Copy link

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

@carlgira
Copy link

carlgira commented Oct 7, 2024

  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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants