app/maguttiCms/Website/Controllers/Auth/LoginController.php
/**
     * Get the failed login response instance.
     *
     * @param  \Illuminate\Http\Request  $request
     * @return \Illuminate\Http\RedirectResponse
     */
Get the failed login response instance.
Get the failed login response instance .
protected function sendInactiveUserLoginResponse(Request $request)
    {
        $errors = [$this->username() => trans('auth.unauthorized')];
        if ($request->expectsJson()) {
            return response()->json($errors, 422);
        }
        return redirect()->back()
            ->withInput($request->only($this->username(), 'remember'))
            ->withErrors($errors);
    }
protected function sendInactiveUserLoginResponse ( Request $ request ) { $ errors = [ $ this -> username ( ) => trans ( 'auth.unauthorized' ) ] ; if ( $ request -> expectsJson ( ) ) { return response ( ) -> json ( $ errors , 422 ) ; } return redirect ( ) -> back ( ) -> withInput ( $ request -> only ( $ this -> username ( ) , 'remember' ) ) -> withErrors ( $ errors ) ; }
Get the failed login response instance.
Get the failed login response instance .