Add missing error.soft_logout

Signed-off-by: Paarth Shah <mail@shahpaarth.com>
This commit is contained in:
Paarth Shah 2024-06-02 00:47:32 -07:00
parent a17550648c
commit d0f371987b
No known key found for this signature in database
GPG key ID: 08D39021F6D6A7B8
2 changed files with 4 additions and 0 deletions

View file

@ -0,0 +1 @@
Add missing `soft_logout` property to `error.yaml`, as used by `refresh.yaml`. Contributed by @PaarthShah.

View file

@ -23,4 +23,7 @@ properties:
type: string type: string
description: A human-readable error message. description: A human-readable error message.
example: An unknown error occurred example: An unknown error occurred
soft_logout:
type: boolean
description: If true within a 401 response, the client can offer to re-log in the user.
required: ["errcode"] required: ["errcode"]