maxcnunes / Perfin

Personal Finance Control - Easy and Simple
http://perfinster.com/
1 stars 1 forks source link

When the token expire is throwing a js exception #24

Closed maxcnunes closed 11 years ago

maxcnunes commented 11 years ago

The current function to verify if the user is not authorized to access some page and force him be redirect o login page is not working when the user's token expire.

authentication_error

maxcnunes commented 11 years ago

A change that I did on my last commit looks solved this problem. Apparently was just missing a "return true;" at the end of Amplify's beforeSend.