flabser / 2next

F team solutions
http://flabser.com
2 stars 0 forks source link

a logout if a session lost #11

Open ghost opened 8 years ago

ghost commented 8 years ago

if session lost application should redirect to login page. The login page can be get from request that is like this

this.get('session').logout().then(function(response) {
               window.location.href = response.outcome.message[0];
           });