1 min readAug 31, 2018
You can add this.
/**
* Get the needed authorization credentials from the request.
*
* @param \Illuminate\Http\Request $request
* @return array
*/
protected function credentials(Request $request) {
return array_merge($request->only($this->username(), 'password'), ['status' => 1]);
}