Default to 40 characters (as that is what the DB table columns are set to)

This commit is contained in:
Alex Bilbie 2013-01-29 16:21:39 +00:00
parent ffcad85d95
commit 8ae0dbcf46

View File

@ -4,7 +4,7 @@ namespace OAuth2\Util;
class SecureKey
{
public static function make($len = 42)
public static function make($len = 40)
{
// We generate twice as many bytes here because we want to ensure we have
// enough after we base64 encode it to get the length we need because we