Not logged in.  Login/Logout/Register | List snippets | | Create snippet | Upload image | Upload data

7
LINES

< > BotCompany Repo | #1002595 // webAuthed

JavaX fragment (include)

static bool webAuthed() {
  ret eq(Boolean.TRUE, callOpt(getBot("#1002590"), "currentHttpRequestAuthorized"));
}

static bool webAuthed(SS params) {
  ret empty(params.get('unauthed)) && (eq(masterPW(), params.get("_pass")) || webAuthed());
}

download  show line numbers  debug dex  old transpilations   

Travelled to 14 computer(s): aoiabmzegqzx, bhatertpkbcr, cbybwowwnfue, cfunsshuasjs, gwrvuhgaqvyk, irmadwmeruwu, ishqpsrjomds, lpdgvwnxivlt, mqqgnosmbjvj, pyentgdyhuwx, pzhvpgtvlbxg, tslmcundralx, tvejysmllsmz, vouqrxazstgt

No comments. add comment

Snippet ID: #1002595
Snippet name: webAuthed
Eternal ID of this version: #1002595/3
Text MD5: 68860c214d15296b640fd0134967531f
Author: stefan
Category: eleu
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2018-08-13 21:08:52
Source code size: 248 bytes / 7 lines
Pitched / IR pitched: No / No
Views / Downloads: 786 / 1132
Version history: 2 change(s)
Referenced in: [show references]