You are here

function password_strength_help in Password Strength 6

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

Implementation of hook_help().

File

./password_strength.module, line 38
Server side checks for newly submittted passwords

Code

function password_strength_help($path, $arg) {
  switch ($path) {
    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;
  }
}