I'm new to Laravel 5, I just want to know how can I protect specific routes? I'm using the default Authenticate Middleware to protect my routes which is only accessible if you're logged in. So i have this.
Route::group(['middleware' => 'App\Http\Middleware\Authenticate'], function() /* Admin only Routes*/
{
Route::get('/brk/datalist', 'BRKDailyMailsController@datalist');
});
How can I protect the /auth/register only? without affecting the others like login?
Outside my route group I have this by default.
Route::controllers([
'auth' => 'Auth\AuthController',
'password' => 'Auth\PasswordController',
]);
I only want logged in users to access default register page. My logged in users is all admin.