- Modify how new user passwords are generated
- DokuWiki's pronouncable password generator
The passed data contains an associative array with two keys. The
foruser key tells you for what user that password is generated. The
password is empty in the BEFORE event and contains the generated password in the AFTER event. Both events can modify the password.
$data = array( 'password' => '', 'foruser' => $foruser );