public function activate(Request $request)
    {
        if (!$email = $request->get('email')) {
            $email = null;
        }

        if (!$code = $request->get('code')) {
            $code = null;
        }

        if (!config('laraflock.dashboard.activations')) {
            Flash::error(trans('dashboard::dashboard.flash.activation.not_active'));

            return redirect()->route('auth.login');
        }

        return $this->view('auth.activate')->with(['email' => $email, 'code' => $code]);
    }
public function activate(Request $request)
    {
        if (!$email = $request->get('email')) {
            $email = null;
        }

        if (!$code = $request->get('code')) {
            $code = null;
        }

        if (!config('laraflock.dashboard.activations')) {
            Flash::error(trans('dashboard::dashboard.flash.activation.not_active'));

            return redirect()->route('auth.login');
        }

        return $this->view('auth.activate')->with(['email' => $email, 'code' => $code]);
    }
public function activate ( Request $ request ) { if ( ! $ email = $ request -> get ( 'email' ) ) { $ email = null ; } if ( ! $ code = $ request -> get ( 'code' ) ) { $ code = null ; } if ( ! config ( 'laraflock.dashboard.activations' ) ) { Flash :: error ( trans ( 'dashboard::dashboard.flash.activation.not_active' ) ) ; return redirect ( ) -> route ( 'auth.login' ) ; } return $ this -> view ( 'auth.activate' ) -> with ( [ 'email' => $ email , 'code' => $ code ] ) ; }
Display activate screen.

@param \Illuminate\Http\Request $request

@return $this|\Illuminate\Http\RedirectResponse
Display activate screen .