re-added access check to actions
This commit is contained in:
parent
604ab4f8ba
commit
cd8ebdd41b
3 changed files with 32 additions and 1 deletions
|
@ -1,5 +1,8 @@
|
|||
function main_action () {
|
||||
this.getParentElement ().readFiles ();
|
||||
if (checkAddress()==false)
|
||||
return;
|
||||
if (checkAuth()==false)
|
||||
return;
|
||||
res.data.body = this.renderSkinAsString ("main");
|
||||
renderSkin ("api");
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue