mirror of
https://github.com/elyby/accounts.git
synced 2026-11-24 08:13:14 +05:30
Заменён метод генерации токена для oauth
Немного освобождены версии зависимостей
This commit is contained in:
1 parent
27a9f9d3f8
commit
d37a865e14
2 files changed
+4
-4
No files matched your search
@@ -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