witoldsz / angular-http-auth

MIT License
2.38k stars 417 forks source link

Ignored Urls doesn't work? #16

Closed drozzy closed 11 years ago

drozzy commented 11 years ago

For some reason, adding url to ignored urls still triggers the login required event to fire. Am I doing something wrong?

witoldsz commented 11 years ago

Hi, the solution for ignoring request has changed. Instead of providing to http-auth-interceptor a function which decides either the request should be ignored or not, now we are to set a flag on the request, so it will be ignored by interceptor. That change also fixed the issue you have described.