mirror of
https://github.com/NuSkooler/enigma-bbs.git
synced 2025-06-06 12:47:13 +02:00
* Ideas
This commit is contained in:
parent
23025ca5bd
commit
bae2e788e1
1 changed files with 4 additions and 0 deletions
|
@ -1,9 +1,13 @@
|
||||||
|
|
||||||
{
|
{
|
||||||
var user = options.user;
|
var user = options.user;
|
||||||
|
var client = options.client;
|
||||||
|
|
||||||
function checkAcs(name, value) {
|
function checkAcs(name, value) {
|
||||||
return {
|
return {
|
||||||
|
SC : function secureConnection() {
|
||||||
|
return client.session.isSecure;
|
||||||
|
},
|
||||||
ID : function userId(value) {
|
ID : function userId(value) {
|
||||||
return user.userId === value;
|
return user.userId === value;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue