Фикс бага с повторным добавлением аккаунта в authserver

This commit is contained in:
ErickSkrauch
2016-10-15 17:35:03 +03:00
parent bafac25baf
commit 4b6bfa15ec
2 changed files with 4 additions and 5 deletions

View File

@@ -80,6 +80,7 @@ class AuthenticationForm extends Form {
$accessTokenModel->insert();
} else {
$accessTokenModel->refreshPrimaryKeyValue();
$accessTokenModel->update();
}
return $accessTokenModel;