Google2Fa ready to upload

This commit is contained in:
Kevin Adametz 2021-11-09 18:38:44 +01:00
parent e3495be8b8
commit 73e38a006e
127 changed files with 2637 additions and 589 deletions

View file

@ -13,8 +13,7 @@ class AirlineController extends Controller
{
public function __construct()
{
$this->middleware('admin');
$this->middleware(['superadmin', '2fa']);
}
public function index($step = false)

View file

@ -11,7 +11,7 @@ class BookingStatusController extends Controller
{
public function __construct()
{
$this->middleware('admin');
$this->middleware(['superadmin', '2fa']);
}
public function index($step = false)

View file

@ -12,7 +12,7 @@ class CategoryController extends Controller
{
public function __construct()
{
$this->middleware('admin');
$this->middleware(['superadmin', '2fa']);
}
public function index($step = false)

View file

@ -21,11 +21,11 @@ class EmailsController extends Controller
public function __construct()
{
$this->identifier_booking_file = 'booking-email-file';
$this->identifier_fewo_file = 'fewo-email-file';
$this->identifier_lead_file = 'lead-email-file';
$this->middleware(['superadmin', '2fa']);
$this->middleware('admin');
$this->identifier_booking_file = 'booking-email-file';
$this->identifier_fewo_file = 'fewo-email-file';
$this->identifier_lead_file = 'lead-email-file';
}

View file

@ -12,7 +12,7 @@ class InsuranceController extends Controller
{
public function __construct()
{
$this->middleware('admin');
$this->middleware(['superadmin', '2fa']);
}
public function index($step = false)

View file

@ -11,8 +11,7 @@ class KeywordController extends Controller
{
public function __construct()
{
$this->middleware('admin');
$this->middleware(['superadmin', '2fa']);
}
public function index($step = false)

View file

@ -13,7 +13,7 @@ class ServiceProviderController extends Controller
{
public function __construct()
{
$this->middleware('admin');
$this->middleware(['superadmin', '2fa']);
}
public function index($step = false)

View file

@ -12,8 +12,7 @@ class TravelAgendaController extends Controller
{
public function __construct()
{
$this->middleware('admin');
$this->middleware(['superadmin', '2fa']);
}
public function index($step = false)

View file

@ -13,7 +13,7 @@ class TravelCompanyController extends Controller
{
public function __construct()
{
$this->middleware('admin');
$this->middleware(['superadmin', '2fa']);
}
public function index($step = false)

View file

@ -25,8 +25,7 @@ class TravelCountryController extends Controller
*/
public function __construct()
{
$this->middleware('admin');
$this->middleware(['superadmin', '2fa']);
}
public function index($step = false)

View file

@ -12,8 +12,7 @@ class TravelNationalityController extends Controller
{
public function __construct()
{
$this->middleware('admin');
$this->middleware(['superadmin', '2fa']);
}
public function index($step = false)
@ -24,7 +23,6 @@ class TravelNationalityController extends Controller
return view('settings.travel_nationality.index', $data);
}
public function update(){
$data = Request::all();

View file

@ -13,7 +13,7 @@ class TravelPlaceController extends Controller
{
public function __construct()
{
$this->middleware('admin');
$this->middleware(['superadmin', '2fa']);
}
public function index($step = false)
@ -24,12 +24,9 @@ class TravelPlaceController extends Controller
return view('settings.place.index', $data);
}
public function update(){
$data = Request::all();
$data['active'] = isset($data['active']) ? true : false;
if($data['id'] === "new"){