Don't use JSON.stringify in login method if you are accessing the token property directly, only use it on the object.
We're a place where coders share, stay up-to-date and grow their careers.
Don't use JSON.stringify in login method if you are accessing the token property directly, only use it on the object.