loginApi
This commit is contained in:
parent
bf163bce1e
commit
87c2b38a29
@ -44,7 +44,7 @@ class LoginApiController extends Controller
|
|||||||
return response()->json(['error' => 'Email atau password salah'], 401);
|
return response()->json(['error' => 'Email atau password salah'], 401);
|
||||||
}
|
}
|
||||||
|
|
||||||
return $this->respondWithToken($token);
|
return $this->respondWithToken($token);
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
Loading…
Reference in New Issue
Block a user