Hubzilla Documentation

Contents

    check_account_password

    Use this hook to provide additional checks or validations of the password given when
    registering and account.

    Arguments:

    1.  array(
    2.      'password' => $password,    // The password to check
    3.      'result' => array(
    4.          'error' => false,
    5.          'message' => ''
    6.      )
    7.  )

    Results:

    For a failed check set the error member of the result
    array to true and the message to a short message
    explaining why it failed.

    Otherwise, leave it alone.