0
Fork 0
mirror of https://github.com/logto-io/logto.git synced 2024-12-30 20:33:54 -05:00

chore: add changeset on suspend (#2430)

This commit is contained in:
wangsijie 2022-11-14 17:17:24 +08:00 committed by GitHub
parent ad4d250575
commit 18e3b82e67
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -0,0 +1,9 @@
---
"@logto/core": minor
---
Add user suspend API endpoint
Use `PATCH /api/users/:userId/is-suspended` to update a user's suspended state, once a user is suspended, all refresh tokens belong to this user will be revoked.
Suspended users will get an error toast when trying to sign in.