Skip to content

Commit

Permalink
Fixed charset of raw token string to base64
Browse files Browse the repository at this point in the history
  • Loading branch information
hollodotme committed Aug 21, 2016
1 parent 2727d0f commit fbfb35f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Security/Token.php
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ final class Token implements IdentifiesFormRequestSource

public function __construct()
{
$this->token = random_bytes( 64 );
$this->token = base64_encode( random_bytes( 64 ) );
}

/**
Expand Down

0 comments on commit fbfb35f

Please sign in to comment.