mirror of
https://github.com/elyby/oauth2-server.git
synced 2024-12-16 10:18:55 +05:30
Default to 40 characters (as that is what the DB table columns are set to)
This commit is contained in:
parent
ffcad85d95
commit
8ae0dbcf46
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user