diff --git a/docs/configuration/authentication/transports/cookie.md b/docs/configuration/authentication/transports/cookie.md index 705084dd..3c3e5b02 100644 --- a/docs/configuration/authentication/transports/cookie.md +++ b/docs/configuration/authentication/transports/cookie.md @@ -24,7 +24,7 @@ As you can see, instantiation is quite simple. It accepts the following argument This method will return a response with a valid `set-cookie` header upon successful login: -!!! success "`200 OK`" +!!! success "`204 No content`" > Check documentation about [login route](../../../usage/routes.md#post-login). diff --git a/docs/usage/routes.md b/docs/usage/routes.md index 78973f82..78272ca8 100644 --- a/docs/usage/routes.md +++ b/docs/usage/routes.md @@ -42,7 +42,7 @@ Logout the authenticated user against the method named `name`. Check the corresp !!! fail "`401 Unauthorized`" Missing token or inactive user. -!!! success "`200 OK`" +!!! success "`204 No content`" The logout process was successful. ## Register router