allow non admins to delete their clients
This commit is contained in:
parent
83c235e94d
commit
f91eb4bd73
@ -386,7 +386,7 @@ const OAuth2ClientCard = ({
|
|||||||
>
|
>
|
||||||
Copy secret
|
Copy secret
|
||||||
</button>
|
</button>
|
||||||
{!client.activated && (
|
{(!client.activated || !isAdmin) && (
|
||||||
<button
|
<button
|
||||||
onClick={() => {
|
onClick={() => {
|
||||||
toast
|
toast
|
||||||
|
Reference in New Issue
Block a user