Warning: session_start(): open(/var/lib/php/sessions/sess_b6m5sp12bjqb1qj88vo0lpqsqm, O_RDWR) failed: No space left on device (28) in /var/www/tb-usercake/models/config.php on line 51

Warning: session_start(): Failed to read session data: files (path: /var/lib/php/sessions) in /var/www/tb-usercake/models/config.php on line 51
webAuthed [1002595]

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: 1293 / 1612
Version history: 2 change(s)
Referenced in: #1006654 - Standard functions list 2 (LIVE, continuation of #761)
#1011913 - html_pretendAuthed
#1026104 - checkWebAuthed - return redirect if not authed
#3000202 - Answer for stefanreich (>> T conversion bot)
#3000238 - Answer for stefanreich (>> t power bot)
#3000382 - Answer for ferdie (>> t = 1, f = 0)
#3000383 - Answer for funkoverflow (>> t=1, f=0 okay)