Deal with settings read/write errors properly

This commit is contained in:
Graham Campbell
2018-12-28 13:56:53 +00:00
parent 5ffb5bc912
commit e764023ad8
8 changed files with 247 additions and 18 deletions

View File

@@ -53,7 +53,7 @@ class ReadyForUse
*/
public function handle(Request $request, Closure $next)
{
if (!$this->settings->get('app_name')) {
if (!$request->is('setup*') && !$this->settings->get('app_name')) {
return cachet_redirect('setup');
}