mirror of
https://github.com/LinkStackOrg/LinkStack.git
synced 2025-01-07 07:41:17 +01:00
Update AdminController.php
This commit is contained in:
parent
3cffa86b4a
commit
6a03987169
@ -480,7 +480,7 @@ class AdminController extends Controller
|
||||
$value = $request->value;
|
||||
|
||||
if($type === "toggle"){
|
||||
if($request->toggle != ''){$value = "auth";}else{$value = "false";}
|
||||
if($request->toggle != ''){$value = "true";}else{$value = "false";}
|
||||
if(EnvEditor::keyExists($entry)){EnvEditor::editKey($entry, $value);}
|
||||
} elseif($type === "toggle2") {
|
||||
if($request->toggle != ''){$value = "verified";}else{$value = "auth";}
|
||||
|
Loading…
Reference in New Issue
Block a user