We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents a67c9d4 + 4dc2a77 commit f193c0cCopy full SHA for f193c0c
1 file changed
userfrosting/middleware/usersession/UserSession.php
@@ -91,8 +91,10 @@ public function setup(){
91
// If we can't connect to the DB, then we can't create an authenticated user. That's ok if we're in installation mode.
92
error_log("Unable to authenticate user because the database is not yet initialized, invalid, or inaccessible. Falling back to guest user.");
93
error_log($e->getTraceAsString());
94
- $controller = new BaseController($this->app);
95
- return $controller->pageDatabaseError();
+
+ // How can we tell we are not in installation mode? Until then, the following code is just staged.
96
+ // $controller = new BaseController($this->app);
97
+ // return $controller->pageDatabaseError();
98
}
99
100
0 commit comments