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

Apply fixes from StyleCI

parent c07bf5ee
...@@ -2,15 +2,15 @@ ...@@ -2,15 +2,15 @@
namespace App\Http\Controllers\Api\V1; namespace App\Http\Controllers\Api\V1;
use JWTAuth;
use Validator;
use Illuminate\Http\Request;
use App\Models\Access\User\User; use App\Models\Access\User\User;
use App\Notifications\Activated; use App\Notifications\Activated;
use App\Notifications\Activation; use App\Notifications\Activation;
use App\Notifications\PasswordReset; use App\Notifications\PasswordReset;
use App\Notifications\PasswordResetted; use App\Notifications\PasswordResetted;
use Illuminate\Http\Request;
use JWTAuth;
use Tymon\JWTAuth\Exceptions\JWTException; use Tymon\JWTAuth\Exceptions\JWTException;
use Validator;
/** /**
* AuthController. * AuthController.
...@@ -18,9 +18,10 @@ use Tymon\JWTAuth\Exceptions\JWTException; ...@@ -18,9 +18,10 @@ use Tymon\JWTAuth\Exceptions\JWTException;
class AuthController extends APIController class AuthController extends APIController
{ {
/** /**
* Authenticate User * Authenticate User.
* *
* @param Request $request * @param Request $request
*
* @return {mix} * @return {mix}
*/ */
public function authenticate(Request $request) public function authenticate(Request $request)
......
...@@ -73,7 +73,7 @@ class Kernel extends HttpKernel ...@@ -73,7 +73,7 @@ class Kernel extends HttpKernel
*/ */
'access.routeNeedsRole' => \App\Http\Middleware\RouteNeedsRole::class, 'access.routeNeedsRole' => \App\Http\Middleware\RouteNeedsRole::class,
'access.routeNeedsPermission' => \App\Http\Middleware\RouteNeedsPermission::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.auth' => \Tymon\JWTAuth\Middleware\GetUserFromToken::class,
'jwt.refresh' => \Tymon\JWTAuth\Middleware\RefreshToken::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