mirror of
https://github.com/crater-invoice/crater.git
synced 2025-12-14 17:32:56 -05:00
v5.0.0 update
This commit is contained in:
@@ -17,12 +17,12 @@ class InstallationMiddleware
|
||||
public function handle($request, Closure $next)
|
||||
{
|
||||
if (! \Storage::disk('local')->has('database_created')) {
|
||||
return redirect('/on-boarding');
|
||||
return redirect('/installation');
|
||||
}
|
||||
|
||||
if (\Storage::disk('local')->has('database_created')) {
|
||||
if (Setting::getSetting('profile_complete') !== 'COMPLETED') {
|
||||
return redirect('/on-boarding');
|
||||
return redirect('/installation');
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user