techbloc Reset password

boyska 9b1046ef94 gitignore 10 months ago
contrib 2283d3867f generate-password can be an external program 10 months ago
static 81fb5f2e82 va meglio su mobile 10 months ago
.gitignore 9b1046ef94 gitignore 10 months ago
README.md 2cfa671338 readme 10 months ago
tresetter.py c3ff1bc2b5 delete session after password change 10 months ago

README.md

tResetter

tResetter is a simple program that allows people to change their password.

Why

From a sysadmin perspective, it's main advantage is that it's not bound to a specific data model: you will write the glue to actually verify/change the password.

From a user perspective, it's main advantage is that it will not let the user choose passwords: it will generate and propose password to the user.

Howto

apt install python3-fastapi python3-pydantic python3-redis
env VALIDATE_LOGIN_EXE=/bin/echo CHANGE_PASSWORD_EXE=/bin/echo uvicorn  tresetter:app