mirror of
https://github.com/NodeBB/NodeBB.git
synced 2025-10-26 16:46:12 +01:00
docs: update verbiage re: login API route
This commit is contained in:
@@ -4,6 +4,8 @@ post:
|
||||
summary: verify login credentials
|
||||
description: |
|
||||
This route accepts a username/password or email/password pair (dependent on forum settings), returning a standard user object if credentials are validated successfully.
|
||||
This route also initializes a standard login session and returns a valid cookie that can be used in subsequent API calls as though it were a browser session.
|
||||
**Note**: Cookie-based sessions require a CSRF token for non-`GET` routes.
|
||||
requestBody:
|
||||
content:
|
||||
application/json:
|
||||
|
||||
Reference in New Issue
Block a user