mirror of
https://github.com/elyby/accounts.git
synced 2025-05-31 14:11:46 +05:30
Удаляем уникальный индекс для поля client_token в таблице minecraft_access_keys
This commit is contained in:
@@ -69,8 +69,8 @@ class AuthenticationForm extends Form {
|
||||
protected function createMinecraftAccessToken(Account $account) : MinecraftAccessKey {
|
||||
/** @var MinecraftAccessKey|null $accessTokenModel */
|
||||
$accessTokenModel = MinecraftAccessKey::findOne([
|
||||
'client_token' => $this->clientToken,
|
||||
'account_id' => $account->id,
|
||||
'client_token' => $this->clientToken,
|
||||
]);
|
||||
|
||||
if ($accessTokenModel === null) {
|
||||
|
Reference in New Issue
Block a user