techbloc Reset password

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

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