mirror of
https://github.com/myvesta/vesta
synced 2025-08-14 02:28:05 -07:00
Session handling
This commit is contained in:
parent
e1011048bd
commit
b1ea8b2726
10 changed files with 243 additions and 91 deletions
|
@ -191,8 +191,9 @@ App.Ajax.request = function(jedi_method, data, callback)
|
|||
reply = jsonParse(reply);
|
||||
|
||||
if (reply.result == 'NOT_AUTHORISED') {
|
||||
|
||||
return alert('NOT AUTH');
|
||||
$('#content').html('<center><h1 style="font-size: 18px;color:red;">Not Authorized</h1></center>');
|
||||
App.Helpers.afterAjax();
|
||||
return App.Actions.authorize();
|
||||
}
|
||||
|
||||
//timer.start();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue