Skip to content

Commit 3b0d649

Browse files
authored
Update README.md (#757)
a revised edit of the basic auth header explanation
1 parent 5cfdace commit 3b0d649

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -757,7 +757,7 @@ Note that this middleware uses session cookies and stores the logged in state on
757757
The Basic type supports a file (by default '.htpasswd') that holds the users and their (hashed) passwords separated by a colon (':').
758758
When the passwords are entered in plain text they fill be automatically hashed.
759759
The authenticated username will be stored in the `$_SESSION['username']` variable.
760-
You need to send an "Authorization" header containing a base64 url encoded and colon separated username and password after the word "Basic".
760+
You need to send an "Authorization" header containing a base64 url encoded version of your colon separated username and password, after the word "Basic".
761761

762762
Authorization: Basic dXNlcm5hbWUxOnBhc3N3b3JkMQ
763763

0 commit comments

Comments
 (0)