fix bug in auth
This commit is contained in:
parent
cf7c57228a
commit
d8a271adb4
@ -16,6 +16,11 @@ use ZipArchive;
|
|||||||
|
|
||||||
class FormController extends Controller
|
class FormController extends Controller
|
||||||
{
|
{
|
||||||
|
|
||||||
|
public function __construct() {
|
||||||
|
$this->middleware('auth');
|
||||||
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Display a listing of the resource.
|
* Display a listing of the resource.
|
||||||
*
|
*
|
||||||
|
@ -42,7 +42,7 @@ Route::middleware(['IsInstalled'])->group(function () {
|
|||||||
Route::post('registration', [RegistrationController::class, 'store']);
|
Route::post('registration', [RegistrationController::class, 'store']);
|
||||||
});
|
});
|
||||||
|
|
||||||
Route::middleware(['locale', 'IsInstalled', 'auth', 'bootstrap', 'setDefaultConfig'])->group(function () {
|
Route::middleware(['IsInstalled', 'auth', 'bootstrap', 'setDefaultConfig', 'locale',])->group(function () {
|
||||||
Route::get('/home', [HomeController::class, 'index'])->name('home');
|
Route::get('/home', [HomeController::class, 'index'])->name('home');
|
||||||
Route::get('/home-template', [HomeController::class, 'getTemplate']);
|
Route::get('/home-template', [HomeController::class, 'getTemplate']);
|
||||||
Route::get('/home-assigned-forms', [HomeController::class, 'getAssignedForms']);
|
Route::get('/home-assigned-forms', [HomeController::class, 'getAssignedForms']);
|
||||||
|
Loading…
Reference in New Issue
Block a user