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

View File

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