mirror of
https://github.com/strapi/strapi.git
synced 2025-11-02 02:44:55 +00:00
Update and rename authentification.md to authentication.md
This commit is contained in:
parent
cd44524cdf
commit
b713866ea1
@ -1,4 +1,4 @@
|
||||
# Authentification
|
||||
# Authentication
|
||||
|
||||
## Register a new user.
|
||||
|
||||
@ -53,7 +53,7 @@ $.ajax({
|
||||
});
|
||||
```
|
||||
|
||||
## Use your token to be identify as user.
|
||||
## Use your token to be identified as a user.
|
||||
|
||||
By default, each API request is identified as `guest` role (see permissions of `guest`'s role in your admin dashboard). To make a request as a user, you have to set the `Authorization` token in your request headers. You receive a 401 error if you are not authorized to make this request or if your authorization header is not correct.
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user