Skip to content

Commit

Permalink
use str random in session class
Browse files Browse the repository at this point in the history
  • Loading branch information
rwarasaurus committed Apr 7, 2012
1 parent 46c1736 commit a1d8dac
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion system/classes/session.php
Expand Up @@ -37,7 +37,7 @@ public static function start() {

if(static::$id === false) {
Log::info('Session cookie not found: ' . $name);
static::$id = static::generate();
static::$id = Str::random(32);
}

// load session data
Expand Down

0 comments on commit a1d8dac

Please sign in to comment.