allow non admins to delete their clients

This commit is contained in:
Evert Prants 2022-09-14 20:44:00 +03:00
parent 83c235e94d
commit f91eb4bd73
Signed by: evert
GPG Key ID: 1688DA83D222D0B5
1 changed files with 1 additions and 1 deletions

View File

@ -386,7 +386,7 @@ const OAuth2ClientCard = ({
>
Copy secret
</button>
{!client.activated && (
{(!client.activated || !isAdmin) && (
<button
onClick={() => {
toast