I am doing a redirect to a controller action in Laravel 5.8. The initial request is an https request, but the redirect for some reason creates an HTTP request. I don't quite understand why this happens. I know I can force HTTP to https, but I was hoping someone could help me understand why the redirect is an HTTP request.
return redirect()->action('Auth\LoginController@loginAjax',['email' => $request->email, 'password' => $request->password, 'register_form' => true]);
via Chebli Mohamed
Aucun commentaire:
Enregistrer un commentaire