mercredi 3 octobre 2018

Return redirect after logout message not dispalying laravel

I have change password option ,so after change password

if($request->input('password')!= '')
        {
            $request->session()->flush();
           return redirect('/')

            ->with([
                'message'    => "Successfully change password",
                'alert-type' => 'success',
            ]);



        }

i want to clear session and i want to redirect home page with a message.Now message is not displaying.page redirect without display message.Any help would be Appreciated



via Chebli Mohamed

Aucun commentaire:

Enregistrer un commentaire