mirror of
https://github.com/elyby/accounts.git
synced 2024-11-26 16:52:02 +05:30
Заменён метод генерации токена для oauth
Немного освобождены версии зависимостей
This commit is contained in:
parent
27a9f9d3f8
commit
d37a865e14
@ -11,7 +11,7 @@ class UuidAlgorithm extends DefaultAlgorithm implements KeyAlgorithmInterface {
|
|||||||
* @inheritdoc
|
* @inheritdoc
|
||||||
*/
|
*/
|
||||||
public function generate($len = 40) : string {
|
public function generate($len = 40) : string {
|
||||||
return Uuid::uuid5(Uuid::NAMESPACE_DNS, parent::generate($len))->toString();
|
return Uuid::uuid4()->toString();
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
@ -14,14 +14,14 @@
|
|||||||
},
|
},
|
||||||
"minimum-stability": "stable",
|
"minimum-stability": "stable",
|
||||||
"require": {
|
"require": {
|
||||||
"php": "~7.0.6",
|
"php": "^7.0.6",
|
||||||
"yiisoft/yii2": "2.0.9",
|
"yiisoft/yii2": "2.0.9",
|
||||||
"yiisoft/yii2-swiftmailer": "*",
|
"yiisoft/yii2-swiftmailer": "*",
|
||||||
"ramsey/uuid": "~3.1",
|
"ramsey/uuid": "^3.5.0",
|
||||||
"league/oauth2-server": "~4.1.5",
|
"league/oauth2-server": "~4.1.5",
|
||||||
"yiisoft/yii2-redis": "~2.0.0",
|
"yiisoft/yii2-redis": "~2.0.0",
|
||||||
"guzzlehttp/guzzle": "^6.0.0",
|
"guzzlehttp/guzzle": "^6.0.0",
|
||||||
"php-amqplib/php-amqplib": "~2.6.2",
|
"php-amqplib/php-amqplib": "^2.6.2",
|
||||||
"ely/yii2-tempmail-validator": "~1.0.0",
|
"ely/yii2-tempmail-validator": "~1.0.0",
|
||||||
"emarref/jwt": "~1.0.2",
|
"emarref/jwt": "~1.0.2",
|
||||||
"ely/amqp-controller": "^0.1.0"
|
"ely/amqp-controller": "^0.1.0"
|
||||||
|
Loading…
Reference in New Issue
Block a user