Skip to content

Commit

Permalink
homeWork
Browse files Browse the repository at this point in the history
  • Loading branch information
ahmetserefoglu committed Jun 3, 2020
1 parent 5a18fa9 commit a69c921
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions app/Http/Controllers/AuthController.php
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@
use Illuminate\Http\Request;
use Illuminate\Support\Facades\Auth;
use Illuminate\Support\Facades\Validator;
use Illuminate\Auth\Events\Verified;

class AuthController extends Controller {

Expand Down
2 changes: 1 addition & 1 deletion routes/api.php
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@
Route::group(['middleware' => 'auth:api'], function () {

Route::post('logout', 'AuthController@logout');
Route::get('users', 'AuthController@getAllUser');
Route::get('users', 'AuthController@getAllUser')->middleware('verified');
Route::get('me', 'AuthController@me');
});

Expand Down

0 comments on commit a69c921

Please sign in to comment.