angular-drupal
angular-drupal copied to clipboard
After successful login, remove call for new token, because token is now returned with login result
The Services module now includes the new token in the result of a login call, so we don't need to manually grab the token after logging in any more.
Any updates on this? I am returning result.data in user_login but not 100% this is what I want to do.
@OpenEyeNet I have not made any progress on this. I think we could set the token here: https://github.com/easystreet3/angular-drupal/blob/7.x-1.x/src/angular-drupal.js#L99
And then the subsequent System Connect call will probably use that new token, instead of retrieving a new one.