Commit d6eb243e authored by Viral Solani's avatar Viral Solani Committed by StyleCI Bot

Apply fixes from StyleCI

parent c07bf5ee
......@@ -2,15 +2,15 @@
namespace App\Http\Controllers\Api\V1;
use JWTAuth;
use Validator;
use Illuminate\Http\Request;
use App\Models\Access\User\User;
use App\Notifications\Activated;
use App\Notifications\Activation;
use App\Notifications\PasswordReset;
use App\Notifications\PasswordResetted;
use Illuminate\Http\Request;
use JWTAuth;
use Tymon\JWTAuth\Exceptions\JWTException;
use Validator;
/**
* AuthController.
......@@ -18,9 +18,10 @@ use Tymon\JWTAuth\Exceptions\JWTException;
class AuthController extends APIController
{
/**
* Authenticate User
* Authenticate User.
*
* @param Request $request
*
* @return {mix}
*/
public function authenticate(Request $request)
......
......@@ -73,7 +73,7 @@ class Kernel extends HttpKernel
*/
'access.routeNeedsRole' => \App\Http\Middleware\RouteNeedsRole::class,
'access.routeNeedsPermission' => \App\Http\Middleware\RouteNeedsPermission::class,
#'jwt.auth' => \App\Http\Middleware\VerifyJWTToken::class,
//'jwt.auth' => \App\Http\Middleware\VerifyJWTToken::class,
'jwt.auth' => \Tymon\JWTAuth\Middleware\GetUserFromToken::class,
'jwt.refresh' => \Tymon\JWTAuth\Middleware\RefreshToken::class,
];
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment