6 days ago

Laravel, sentinel get reminder code problem.

Posted 6 days ago by uselaravel

    //$reCode and $user previously successful variables.

    $sentinelUser = Sentinel::findById($user->id);

        if($reminder = Reminder::exists($sentinelUser)){
             if($reCode == $reminder->code){
                return view('resetpw');
                return redirect('/');

Returns true when I look at $reminder with dd($reminder). And

$reminder->code error = Trying to get property 'code' of non-object.

Help me, thank you...

Please sign in or create an account to participate in this conversation.