Browse Source

📝 Fix docs include

pull/13786/head
Sebastián Ramírez 8 months ago
parent
commit
3e80032104
  1. 2
      docs/en/docs/how-to/authentication-error-status-code.md

2
docs/en/docs/how-to/authentication-error-status-code.md

@ -8,7 +8,7 @@ But if for some reason your clients depend on the old behavior, you can revert t
For example, you can create a subclass of `HTTPBearer` that returns a `403 Forbidden` error instead of the default `401 Unauthorized` error: For example, you can create a subclass of `HTTPBearer` that returns a `403 Forbidden` error instead of the default `401 Unauthorized` error:
{* ../../docs_src/authentication_error_status_code/tutorial001_py39.py hl[9:13] *} {* ../../docs_src/authentication_error_status_code/tutorial001_an_py39.py hl[9:13] *}
/// tip /// tip

Loading…
Cancel
Save