You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The original calling code does a Backbone.Model.save, which causes the underlying $.ajax call to expect a JSON response, but we just do res.status(200).end() on the server side. Changing the response code to res.status(200).json({}) fixes this (could also return the user).
The original calling code does a
Backbone.Model.save
, which causes the underlying$.ajax
call to expect a JSON response, but we just dores.status(200).end()
on the server side. Changing the response code tores.status(200).json({})
fixes this (could also return the user).See plugins/auth/local/index.js#L199-L222.
The text was updated successfully, but these errors were encountered: