mirror of
https://github.com/appwrite/appwrite.git
synced 2026-05-26 13:51:13 +00:00
convert bin to hex
This commit is contained in:
@@ -101,11 +101,11 @@ App::post('/v1/projects')
|
||||
'keys' => null,
|
||||
'domains' => null,
|
||||
'auths' => $auths,
|
||||
'storageSecrets' => [OpenSSL::randomPseudoBytes(128)],
|
||||
'storageSecrets' => [\bin2hex(OpenSSL::randomPseudoBytes(128))],
|
||||
'storageSecretsDisplacement' => 0,
|
||||
'databaseSecrets' => [OpenSSL::randomPseudoBytes(128)],
|
||||
'databaseSecrets' => [\bin2hex(OpenSSL::randomPseudoBytes(128))],
|
||||
'databaseSecretsDisplacement' => 0,
|
||||
'jwtSecret' => OpenSSL::randomPseudoBytes(128),
|
||||
'jwtSecret' => \bin2hex(OpenSSL::randomPseudoBytes(128)),
|
||||
'search' => implode(' ', [$projectId, $name]),
|
||||
]));
|
||||
/** @var array $collections */
|
||||
|
||||
Reference in New Issue
Block a user