mirror of
https://github.com/elyby/accounts.git
synced 2025-05-31 14:11:46 +05:30
Фикс бага с повторным добавлением аккаунта в authserver
This commit is contained in:
@@ -80,6 +80,7 @@ class AuthenticationForm extends Form {
|
||||
$accessTokenModel->insert();
|
||||
} else {
|
||||
$accessTokenModel->refreshPrimaryKeyValue();
|
||||
$accessTokenModel->update();
|
||||
}
|
||||
|
||||
return $accessTokenModel;
|
||||
|
Reference in New Issue
Block a user