generator-angular-fullstack icon indicating copy to clipboard operation
generator-angular-fullstack copied to clipboard

Template is rendered before a failed authentication redirects the user

Open MichaelMarkieta opened this issue 8 years ago • 0 comments

  • [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?

GIF of the issue

MichaelMarkieta avatar Sep 08 '17 21:09 MichaelMarkieta