You are here

function password_strength_help in Password Strength 5

Same name and namespace in other branches
  1. 6 password_strength.module \password_strength_help()

Implementation of hook_help().

File

./password_strength.module, line 36

Code

function password_strength_help($section) {
  switch ($section) {
    case 'admin/settings/password_strength':
      return t('<p>The rules below are tested to determine password strength. A <em>high</em> strength password contains:</p>
        <ul>
          <li>letters,</li>
          <li>numbers,</li>
          <li>punctuation,</li>
          <li>both upper- and lower-case letters.</li>
        </ul>
      <p>Minimum length and username match tests do not count toward the "score" of a password. If either of these conditions fails to match the configured settings, the password is immediately rejected.</p>');
    default:
      return;
  }
}