Skip to content

Commit

Permalink
Fix syntax error in docs (yiisoft#203)
Browse files Browse the repository at this point in the history
  • Loading branch information
avinasx authored Apr 23, 2020
1 parent d429d70 commit b38a0e9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/guide/basic-usage.md
Original file line number Diff line number Diff line change
Expand Up @@ -167,7 +167,7 @@ You can authenticate by adding an `Authorization` header, that contains the word
the base64 encoded string of `username:password`:

```php
$username = 'yii':
$username = 'yii';
$password = 'verysecret';
$request->headers->set('Authorization', 'Basic ' . base64_encode("$username:$password"));
```
Expand Down

0 comments on commit b38a0e9

Please sign in to comment.