ng-token-auth icon indicating copy to clipboard operation
ng-token-auth copied to clipboard

configName not available in response function when logging in

Open milep opened this issue 8 years ago • 0 comments

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

milep avatar Apr 07 '16 19:04 milep