Use the suggested admin username from quickstart

This commit is contained in:
José Padilla 2017-11-24 14:42:24 -05:00
parent 6d00c99cd8
commit c86c3da068
No known key found for this signature in database
GPG Key ID: AAE3EF579B2987B1

View File

@ -205,11 +205,11 @@ If we try to create a snippet without authenticating, we'll get an error:
We can make a successful request by including the username and password of one of the users we created earlier. We can make a successful request by including the username and password of one of the users we created earlier.
http -a tom:password123 POST http://127.0.0.1:8000/snippets/ code="print 789" http -a admin:password123 POST http://127.0.0.1:8000/snippets/ code="print 789"
{ {
"id": 1, "id": 1,
"owner": "tom", "owner": "admin",
"title": "foo", "title": "foo",
"code": "print 789", "code": "print 789",
"linenos": false, "linenos": false,