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,9 +1,17 @@
|
|||
function list_action () {
|
||||
if (checkAddress()==false)
|
||||
return;
|
||||
if (checkAuth()==false)
|
||||
return;
|
||||
res.data.body = this.renderSkinAsString ("list");
|
||||
renderSkin ("api");
|
||||
}
|
||||
|
||||
function main_action () {
|
||||
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