Skip to content

Commit d9beddb

Browse files
authored
Merge pull request #2945 from Luzefiru/patch-1
fix: update superseded link
2 parents 38ffb07 + d7b4df0 commit d9beddb

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/content/4/en/part4d.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -76,7 +76,7 @@ Because the passwords themselves are not saved to the database, but <i>hashes</i
7676
await bcrypt.compare(body.password, user.passwordHash)
7777
```
7878

79-
If the user is not found, or the password is incorrect, the request is responded to with the status code [401 unauthorized](https://www.w3.org/Protocols/rfc2616/rfc2616-sec10.html#sec10.4.2). The reason for the failure is explained in the response body.
79+
If the user is not found, or the password is incorrect, the request is responded to with the status code [401 unauthorized](https://www.rfc-editor.org/rfc/rfc9110.html#name-401-unauthorized). The reason for the failure is explained in the response body.
8080

8181
If the password is correct, a token is created with the method _jwt.sign_. The token contains the username and the user id in a digitally signed form.
8282

0 commit comments

Comments
 (0)