moved wizard check to middleware
This commit is contained in:
@ -17,10 +17,6 @@ class Finish extends Controller
|
||||
*/
|
||||
public function index()
|
||||
{
|
||||
if (setting('general.wizard', false)) {
|
||||
return redirect('/');
|
||||
}
|
||||
|
||||
setting()->set('general.wizard', true);
|
||||
|
||||
// Save all settings
|
||||
|
Reference in New Issue
Block a user