Update cookie.md to reflect correct status code on login (#1349)

* Update cookie.md to reflect correct status code on login

* Add complete HTTP response code

* Update HTTP response code in docs for cookie transport
This commit is contained in:
raindata5
2024-02-15 03:57:30 -05:00
committed by GitHub
parent ad096aea13
commit 87c73e974c
2 changed files with 2 additions and 2 deletions

View File

@ -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: 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). > Check documentation about [login route](../../../usage/routes.md#post-login).

View File

@ -42,7 +42,7 @@ Logout the authenticated user against the method named `name`. Check the corresp
!!! fail "`401 Unauthorized`" !!! fail "`401 Unauthorized`"
Missing token or inactive user. Missing token or inactive user.
!!! success "`200 OK`" !!! success "`204 No content`"
The logout process was successful. The logout process was successful.
## Register router ## Register router