Password hooks

Go to configuration

Click on edit to edit your configuration

Add a "user" hook with mode "postmodify"

I use the next command for example: echo “get clear password : %passwordClear%”

Save your hook and your configuration

In my example I have the command 'echo “get clear password : user_password_in_clear”' when I modify the user password.

Password variable that you can use

%userPassword% to get password hash
%passwordMethod% to get password method (usually ssha)
%passwordClear% to get clear password
%userLocked% to get user lock status (0 or 1)
en/documentation/how_to/use/hooks_password_109.txt · Last modified: 2018/09/20 17:27 by Côme Chilliet
CC Attribution-Share Alike 4.0 International
Driven by DokuWiki Recent changes RSS feed Valid CSS Valid XHTML 1.0