mirror of
https://gitlab.com/CIEFWorldwideSdnBhd/exchange-2.0.git
synced 2026-08-22 14:04:01 +00:00
pull
This commit is contained in:
@@ -33,6 +33,8 @@ class ValidateToken
|
||||
*/
|
||||
public function handle($request, Closure $next)
|
||||
{
|
||||
return response()->json(['status' =>2, 'msg' => $this->manager->getPayload()]);
|
||||
|
||||
try {
|
||||
|
||||
if(!$this->manager->check()){ throw new AccessUnauthorisedException(); }
|
||||
|
||||
Reference in New Issue
Block a user