mirror of
https://github.com/HabitRPG/habitica.git
synced 2025-12-18 23:27:26 +01:00
added apidoc info about data.newUser in login response
This commit is contained in:
@@ -178,6 +178,7 @@ function _loginRes (user, req, res) {
|
|||||||
*
|
*
|
||||||
* @apiSuccess {String} data._id The user's unique identifier
|
* @apiSuccess {String} data._id The user's unique identifier
|
||||||
* @apiSuccess {String} data.apiToken The user's api token that must be used to authenticate requests.
|
* @apiSuccess {String} data.apiToken The user's api token that must be used to authenticate requests.
|
||||||
|
* @apiSuccess {Boolean} data.newUser Returns true if the user was just created (always false for local login).
|
||||||
*/
|
*/
|
||||||
api.loginLocal = {
|
api.loginLocal = {
|
||||||
method: 'POST',
|
method: 'POST',
|
||||||
|
|||||||
Reference in New Issue
Block a user