Function __global->has_lost_password_error

Definitions

sources/cns_lost_password.php

  • Find if there is something stopping password reset working for a given member.
  • Visibility: public
  • Is abstract?: No
  • Is static?: No
  • Is final?: No
  • Returns: object

Parameters

Name Type Passed by reference? Variadic? Default Set Range Description
$member_id MEMBER No No required parameter N/A N/A Member

Returns

  • Error message (null: none)
  • Type: ?Tempcode
  • Set: N/A
  • Range: N/A

Preview

Code (PHP)

/**
 * Find if there is something stopping password reset working for a given member.
 *
 * @param  MEMBER $member_id Member
 * @return ?Tempcode Error message (null: none)
 */

function has_lost_password_error(int $member_id) : ?object