w20-framework / w20

W20 is a Web framework, built upon a powerful RequireJS/AngularJS/Bootstrap mix to help you develop single page applications.
https://w20-framework.github.io/
Mozilla Public License 2.0
8 stars 9 forks source link

Added a flag to sessionStorage to prevent redirection #58

Closed kavi87 closed 8 years ago

kavi87 commented 8 years ago

Fix #51

The StateService can now manage sessionStorage in addition to localStorage. It will set a browsing session flag to prevent redirection triggered by the security module option "redirectAfterLogin" if the user is in a browsing session. This allow refreshing the current route without triggering the redirection. It does not alter anything about security management, authentication or cookies.