16 lines
269 B
PHP
16 lines
269 B
PHP
<?php
|
|
|
|
namespace App\Http\Controllers;
|
|
|
|
use SteelAnts\LaravelAuth\Traits\Authentication;
|
|
|
|
class AuthController extends Controller
|
|
{
|
|
use Authentication;
|
|
|
|
public function __construct()
|
|
{
|
|
$this->middleware('auth')->only(['logout','root']);
|
|
}
|
|
}
|