mirror of
https://github.com/elyby/accounts.git
synced 2025-05-31 14:11:46 +05:30
Заменён метод генерации токена для oauth
Немного освобождены версии зависимостей
This commit is contained in:
@ -11,7 +11,7 @@ class UuidAlgorithm extends DefaultAlgorithm implements KeyAlgorithmInterface {
|
||||
* @inheritdoc
|
||||
*/
|
||||
public function generate($len = 40) : string {
|
||||
return Uuid::uuid5(Uuid::NAMESPACE_DNS, parent::generate($len))->toString();
|
||||
return Uuid::uuid4()->toString();
|
||||
}
|
||||
|
||||
}
|
||||
|
Reference in New Issue
Block a user