From 031fa781202659a1d2260186ba9e758cd79ca246 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Fran=C3=A7ois=20Voron?= Date: Sat, 29 Apr 2023 13:42:24 +0200 Subject: [PATCH] Update docs about transports --- docs/configuration/authentication/transports/bearer.md | 2 +- docs/configuration/authentication/transports/cookie.md | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/configuration/authentication/transports/bearer.md b/docs/configuration/authentication/transports/bearer.md index ff614fb5..fe0586b6 100644 --- a/docs/configuration/authentication/transports/bearer.md +++ b/docs/configuration/authentication/transports/bearer.md @@ -30,7 +30,7 @@ This method will return the in the following form upon successful login: ## Logout -The logout method with this transport returns nothing. +!!! success "`204 No content`" ## Authentication diff --git a/docs/configuration/authentication/transports/cookie.md b/docs/configuration/authentication/transports/cookie.md index 38f04c02..705084dd 100644 --- a/docs/configuration/authentication/transports/cookie.md +++ b/docs/configuration/authentication/transports/cookie.md @@ -32,7 +32,7 @@ This method will return a response with a valid `set-cookie` header upon success This method will remove the authentication cookie: -!!! success "`200 OK`" +!!! success "`204 No content`" > Check documentation about [logout route](../../../usage/routes.md#post-logout).