docs icon indicating copy to clipboard operation
docs copied to clipboard

Possible to change password strength requirement?

Open WGandy opened this issue 2 years ago • 1 comments

I'm playing around with setting up a simple user to share with similar to the guest user but perhaps with some different capabilities and I'd like the password to be simple (demo:demo). How do I force teedy (self hosted) to accept a simple password?

WGandy avatar May 15 '23 18:05 WGandy

the dirty way would be to create a password hash manually and put that into the database (postgresql). In https://github.com/sismics/docs/blob/master/docker-compose.yml there is some example how it looks like:

$$2a$$05$$PcMNUbJvsk7QHFSfEIDaIOjk1VI9/E7IPjTKx.jkjPxkx2EOKSoPS

using https://bcrypt-generator.com you can create such things

$2a$05$kHwuiR6XmWl0vDjcbXK8cup1UYRm5e0TY2ZfVDFgemvlxv1I1iG8S is an example output for demo (using 5 rounds)

vmario89 avatar May 15 '23 19:05 vmario89