Ignore:
Timestamp:
May 13, 2008 4:14:53 AM (16 years ago)
Author:
quinn
Message:

Fixed lots of misplings. I'm so embarrassed! ;P

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/lib/Auth_SQL.inc.php

    r277 r334  
    2525    var $_authentication_tested;
    2626
    27     // Paramters to be configured by setParam.
     27    // Parameters to be configured by setParam.
    2828    var $_params = array();
    2929    var $_default_params = array(
     
    7070        'login_abuse_max_ips' => 5,
    7171
    72         // The IP address subnet size threshold. Uses a CIDR notation network mask (see CIDR cheatsheet at bottom).
    73         // Any integar between 0 and 32 is permitted. Setting this to '24' permits any address in a
     72        // The IP address subnet size threshold. Uses a CIDR notation network mask (see CIDR cheat-sheet at bottom).
     73        // Any integer between 0 and 32 is permitted. Setting this to '24' permits any address in a
    7474        // class C network (255.255.255.0) to be considered the same. Setting to '32' compares each IP absolutely.
    7575        // Setting to '0' ignores all IPs, thus disabling login_abuse checking.
     
    753753     * Returns a randomly generated password based on $pattern. The pattern is any
    754754     * sequence of 'x', 'V', 'C', 'v', 'c', or 'd' and if it is something like 'cvccv' this
    755      * function will generate a pronouncable password. Recommend using more complex
     755     * function will generate a pronounceable password. Recommend using more complex
    756756     * patterns, at minimum the US State Department standard: cvcddcvc.
    757757     *
    758758     * - x    a random upper or lower alpha character or digit
    759      * - C    a random upper or lower consanant
     759     * - C    a random upper or lower consonant
    760760     * - V    a random upper or lower vowel
    761      * - c    a random lowercase consanant
     761     * - c    a random lowercase consonant
    762762     * - v    a random lowercase vowel
    763763     * - d    a random digit
     
    794794       
    795795        // Existing password hashes rely on the same key/salt being used to compare encryptions.
    796         // Don't change this unless you know existing hashes or signatures will not be affected!
     796        // Don't change this (or the value applied to signing_key) unless you know existing hashes or signatures will not be affected!
    797797        $more_salt = 'B36D18E5-3FE4-4D58-8150-F26642852B81';
    798798       
     
    860860        ");
    861861        if (!list($old_encrypted_password) = mysql_fetch_row($qid)) {
    862             $app->logMsg(sprintf('Cannot set password for nonexistant user_id %s', $user_id), LOG_NOTICE, __FILE__, __LINE__);
     862            $app->logMsg(sprintf('Cannot set password for nonexistent user_id %s', $user_id), LOG_NOTICE, __FILE__, __LINE__);
    863863            return false;
    864864        }
     
    937937                'USERNAME' => $user_data[$this->_params['db_username_column']],
    938938                'PASSWORD' => $password,
    939                 'REASON' => ('' == trim($reason) ? '' : trim($reason) . ' '), // Add a space after the reason if it exists for better fromatting.
     939                'REASON' => ('' == trim($reason) ? '' : trim($reason) . ' '), // Add a space after the reason if it exists for better formatting.
    940940            ));
    941941            $email->send();
     
    954954     * NOTE: "user_type" used to be called "priv" in some older implementations.
    955955     *
    956      * @param  constant $security_zone   string of comma delimited priviliges for the zone
     956     * @param  constant $security_zone   string of comma delimited privileges for the zone
    957957     * @param  string   $user_type       a privilege that might be found in a zone
    958958     * @return bool     true if user is a member of security zone, false otherwise
     
    979979     * NOTE: "user_type" used to be called "priv" in some older implementations.
    980980     *
    981      * @param  constant $security_zone   string of comma delimited priviliges for the zone
     981     * @param  constant $security_zone   string of comma delimited privileges for the zone
    982982     */
    983983    function requireAccessClearance($security_zone, $message='')
Note: See TracChangeset for help on using the changeset viewer.