Please sign in to comment.
authenticate() can pass error message to client through reject(msg)
Now the authenticate() function can pass a custom error message to the client by providing the message in action.reject(msg). originally, rejection resulted in an unchangeable and not particularly useful "forbidden" error. includes tests
- Loading branch information...
Showing with 9 additions and 2 deletions.