kutt icon indicating copy to clipboard operation
kutt copied to clipboard

If disallow registration, how admin add account for co-workers.

Open liukch opened this issue 3 years ago • 1 comments

I use the self-hosted service, but several problems accurred.

  • I owned two domains: kutt.foo.com; url.foo.com
  • kutt.foo.com as the default domain, and Web UI, it is not open for the public internet, just restrict source IP
  • url.foo.com as the custom domain, and the shorter link URL, it is open for the public internet
  • I have several co-workers, we will use self-hosted Kutt together
  • Because of Kutt can not create the same url.foo.com for every co-worker's account, so I just create it through my own account, it is just belongs to me, but co-workers can not use the custom domain
  • Out of necessity, I hava to set url.foo.com as my default domain and Web UI, and open it to the public internet. For security I have to disable the anonymous link and the registration. At the same time, I have to create new account for my co-workers, what can I do?

liukch avatar Jan 13 '22 06:01 liukch

At the moment there isn't any UI to create accounts on the backend as Admin. You'll have to manually create accounts via Postgres database. You can use a bcrypt hash generator to make a generic temp password and preset verfication=true so they can log in.

This method is very unconventional, but if you only need it for a small team it does the job.

kengher avatar Mar 28 '22 19:03 kengher