mirror of
https://github.com/elyby/accounts.git
synced 2025-05-31 14:11:46 +05:30
Fixes ACCOUNTS-54A. Include deleted applications in the lookup for exists applications.
This commit is contained in:
@@ -90,7 +90,10 @@ class OauthClientForm {
|
||||
}
|
||||
|
||||
protected function isClientExists(string $id): bool {
|
||||
return OauthClient::find()->andWhere(['id' => $id])->exists();
|
||||
return OauthClient::find()
|
||||
->includeDeleted()
|
||||
->andWhere(['id' => $id])
|
||||
->exists();
|
||||
}
|
||||
|
||||
}
|
||||
|
Reference in New Issue
Block a user