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

7
LINES

< > BotCompany Repo | #1002595 // webAuthed

JavaX fragment (include)

1  
static bool webAuthed() {
2  
  ret eq(Boolean.TRUE, callOpt(getBot("#1002590"), "currentHttpRequestAuthorized"));
3  
}
4  
5  
static bool webAuthed(SS params) {
6  
  ret empty(params.get('unauthed)) && (eq(masterPW(), params.get("_pass")) || webAuthed());
7  
}

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: 678 / 1040
Version history: 2 change(s)
Referenced in: [show references]