Changeset 3114 for trunk/modules/auth
- Timestamp:
- 07/15/2008 04:11:44 PM (5 months ago)
- Location:
- trunk/modules/auth
- Files:
-
- 1 added
- 4 modified
-
config/auth.php (modified) (1 diff)
-
libraries/Auth.php (modified) (1 diff)
-
libraries/drivers/Auth.php (modified) (2 diffs)
-
libraries/drivers/Auth/File.php (added)
-
libraries/drivers/Auth/ORM.php (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
trunk/modules/auth/config/auth.php
r2471 r3114 34 34 */ 35 35 $config['lifetime'] = 1209600; 36 37 /** 38 * Usernames (keys) and hashed passwords (values) used by the File driver. 39 */ 40 $config['users'] = array 41 ( 42 // 'admin' => '4ccd0e25c2a7ffefd4b92ecbbd4781752920145f826a881073', 43 ); -
trunk/modules/auth/libraries/Auth.php
r2593 r3114 149 149 * based on the configured salt pattern. 150 150 * 151 * Parameters: 152 * password - plaintext password 153 * 154 * Returns: 155 * Hashed password string 151 * @param string plaintext password 152 * @return string hashed password string 156 153 */ 157 154 public function hash_password($password, $salt = FALSE) 158 155 { 159 if ($salt == FALSE)156 if ($salt === FALSE) 160 157 { 161 158 // Create a salt seed, same length as the number of offsets in the pattern -
trunk/modules/auth/libraries/drivers/Auth.php
r2482 r3114 40 40 * Log a user out. 41 41 * 42 * @param boolean completedestroy the session42 * @param boolean completely destroy the session 43 43 * @return boolean 44 44 */ … … 48 48 * Checks if a session is active. 49 49 * 50 * @param string role name50 * @param string role name 51 51 * @return boolean 52 52 */ -
trunk/modules/auth/libraries/drivers/Auth/ORM.php
r3101 r3114 193 193 } 194 194 195 } // End Auth_O rm_Driver Class195 } // End Auth_ORM_Driver Class
