generator-angular-fullstack
generator-angular-fullstack copied to clipboard
Template is rendered before a failed authentication redirects the user
- [x] I understand that GitHub issues are not for tech support, but for questions specific to this generator, bug reports, and feature requests.
| Item | Version |
|---|---|
| generator-angular-fullstack | 4.2.2 |
| Node | 6.11.2 |
| npm | 3.10.10 |
| Operating System | OS X 10.12.6 |
| Item | Answer |
|---|---|
| Transpiler | Babel |
| Markup | HTML |
| CSS | SCSS |
| Router | ui-router |
| Auth | Y |
When navigating to a protected route, which is protected via the Authentication router decorator, the route and its template will be rendered before the redirection for unauthenticated users. I would rather not leak any of the template information. Is this a bug? How do we prevent the protected route from leaking its template?