Documentation Hubzilla
This page is not yet available in français. See /help/developer/developer_guide#Translations for information about how to help.
Contenus
Deprecated: preg_match(): Passing null to parameter #1 ($pattern) of type string is deprecated in /var/www/html/extend/addon/hzaddons/hilite/Text_Highlighter/Text/Highlighter.php on line 260
check_account_password
Use this hook to provide additional checks or validations of the password given whenregistering and account.
Arguments:
- array(
- 'password' => $password, // The password to check
- 'result' => array(
- 'error' => false,
- 'message' => ''
- )
- )
Results:
For a failed check set theerror
member of the result
array to
true
and the message
to a short messageexplaining why it failed.
Otherwise, leave it alone.