Skip to content

Commit f193c0c

Browse files
authored
Merge pull request #576 from frostbitten/hotfix-development
Fix installation process
2 parents a67c9d4 + 4dc2a77 commit f193c0c

1 file changed

Lines changed: 4 additions & 2 deletions

File tree

userfrosting/middleware/usersession/UserSession.php

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -91,8 +91,10 @@ public function setup(){
9191
// 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.
9292
error_log("Unable to authenticate user because the database is not yet initialized, invalid, or inaccessible. Falling back to guest user.");
9393
error_log($e->getTraceAsString());
94-
$controller = new BaseController($this->app);
95-
return $controller->pageDatabaseError();
94+
95+
// 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();
9698
}
9799
}
98100
}

0 commit comments

Comments
 (0)