Hubzilla-Dokumentation
This page is not yet available in Deutsch. See /help/developer/developer_guide#Translations for information about how to help.
Inhalt
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.