fixed a bug in the authentication system, thx mr_sose

This commit is contained in:
noxy
2019-11-11 09:52:33 +00:00
parent 2d57d87ce6
commit af06b58813
6 changed files with 47 additions and 7 deletions

View File

@@ -18,7 +18,7 @@ Route::get('/', ['as' => 'home', function () {
return redirect($video->id);
}])->middleware('auth');
}])/*->middleware('auth')*/;
Route::get('nojs', function() { return view('nojs'); });
@@ -145,7 +145,8 @@ Route::group(["middleware" => "theme"], function() {
# 'donations' => \App\Models\Donation::orderBy('timestamp', 'DESC')->get()
# ]);
#});
Route::get('login', function() { return view('login'); });
#Route::get('login', function() { return view('login'); });
Route::get('login', 'UserController@loggain');
#Route::get('counter-strike', function() { return view('counter-strike'); });
Route::get('{id}', 'VideoController@show')->where('id', '[0-9]+');