I have user which is authorized through standard Laravel auth. Can I call API routes for him without any additional auth tokens?
Route::middleware('auth')->get('/users', function (Request $request) {
return App\Models\User::get();
});
from Newest questions tagged laravel-5 - Stack Overflow http://ift.tt/2BgZjtf
via IFTTT
Aucun commentaire:
Enregistrer un commentaire