Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
en:documentation:how_to:use:hooks_password_109 [2018/09/20 17:27]
Côme Chilliet [Password variable that you can use]
— (current)
Line 1: Line 1:
-===== Password hooks ===== 
  
-==== Go to configuration ==== 
- 
-{{:​en:​documentation:​how_to:​use:​hooks-password-109-1.png?​900|}} 
- 
-==== Click on edit to edit your configuration ===== 
- 
-{{:​en:​documentation:​how_to:​use:​hooks-password-109-2.png?​900|}} 
- 
-==== Add a "​user"​ hook with mode "​postmodify"​ ==== 
- 
-{{:​en:​documentation:​how_to:​use:​hooks-password-109-3.png?​900|}} 
- 
-I use the next command for example: echo "get clear password : %passwordClear%"​ 
- 
-==== Save your hook and your configuration ==== 
- 
-{{:​en:​documentation:​how_to:​use:​hooks-password-109-4.png?​900|}} 
- 
-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 ==== 
- 
-<​code>​ 
-%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) 
-</​code>​ 
en/documentation/how_to/use/hooks_password_109.1537457240.txt.gz · 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