izartu API

passwd.php

CLI: change a user's password.

Prompts for the user's email and the new password, twice, without showing it on a terminal. Stores its hash and ends every session the user has open, so a leaked password stops working at once.

Run it: docker compose exec app php /var/www/izartu/private/cli/passwd.php (Docker) php private/cli/passwd.php (bare PHP, as root or the web server's user)

Table of Contents

On this page
  • Table Of Contents

Search results