Password set, but instance still public.

by jtojnar, Wednesday, August 28, 2019, 00:08 (1676 days ago) @ mdione

The configuration looks correct.


--- a/controllers/Index.php
+++ b/controllers/Index.php
@@ -17,6 +17,10 @@ class Index extends BaseController {
      * @return void
      */
     public function home() {
+        var_dump(\F3::get('public'));
+        var_dump(\F3::get('auth')->enabled());
+        exit;
+
         // parse params
         $options = [];
         if (\F3::get('homepage') != '') {

Complete thread:

 RSS Feed of thread

powered by my little forum