Skip to content
This repository was archived by the owner on Nov 21, 2025. It is now read-only.

Commit 2cc0cd7

Browse files
authored
Update index.html.md
1 parent bf93d64 commit 2cc0cd7

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

source/index.html.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -208,7 +208,7 @@ Endpoints that control user related functions
208208

209209
`POST <SynBioHub URL>/login`
210210

211-
This POST request requires email/password and returns a user token that should be passed in the X-authorization header to view private objects and submit new objects, etc.
211+
This POST request requires email (or username)/password and returns a user token that should be passed in the X-authorization header to view private objects and submit new objects, etc.
212212

213213
```plaintext
214214
curl -X POST -H "Accept: text/plain" -d "email=<email>&password=<password>" <SynBioHub URL>/login
@@ -252,7 +252,7 @@ fetch(url, { method: 'POST', headers: headers, body: params})
252252

253253
Parameter | Description
254254
--------- | ------- | -----------
255-
email | The e-mail address of the user to login with.
255+
email | The e-mail address (or username) of the user to login with.
256256
password | The password of the user.
257257

258258
## Logout

0 commit comments

Comments
 (0)