Changeset 2089
- Timestamp:
- 02/20/2008 04:56:18 PM (9 months ago)
- Files:
-
- 1 modified
-
trunk/modules/auth/libraries/Auth.php (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/modules/auth/libraries/Auth.php
r2024 r2089 201 201 if ($salt == FALSE) 202 202 { 203 // Create a salt s tring, same length as the number of offsets in the pattern203 // Create a salt seed, same length as the number of offsets in the pattern 204 204 $salt = substr($this->hash(uniqid(NULL, TRUE)), 0, count($this->config['salt_pattern'])); 205 205 } … … 262 262 { 263 263 $salt = ''; 264 265 264 foreach($this->config['salt_pattern'] as $i => $offset) 266 265 { … … 291 290 ( 292 291 'user_id' => $user->id, 293 'username' => $user->username,294 292 'roles' => $user->roles 295 293 ));
