ng-token-auth
ng-token-auth copied to clipboard
configName not available in response function when logging in
https://github.com/lynndylanhurley/ng-token-auth/blob/master/src/ng-token-auth.coffee#L891
So the resp.config.url doesn't match $auth.apiUrl().
Fixed that(in compiled js) by adding setConfigName before the post in submitLogin function.
https://github.com/lynndylanhurley/ng-token-auth/blob/master/src/ng-token-auth.coffee#L215