Site.checkSubscribe (usr, level) |
function checks if user is allowed to sign up
|
Sourcecode in Site/securityFunctions.js:
1: function checkSubscribe(usr, level) { 2: if (level != null) 3: throw new Exception("subscriptionExist"); 4: else if (!this.online) 5: throw new DenyException("siteView"); 6: return; 7: } |