Welcome Guest, Not a member yet? Register   Sign In
Cannot login with CI4 after updating Chrome?

(This post was last modified: 01-13-2021, 03:00 PM by InsiteFX.)

If it's a CORS problem you can try adding this to your .htaccess file in the root with index.php

<IfModule mod_headers.c>
    <FilesMatch "\.(ttf|ttc|otf|eot|woff|woff2|svg|svgz|jpg|png|ico|font.css|css|js)$">
        ## Change this to your website URL not * "https://your_site.com"##
        Header set Access-Control-Allow-Origin "*"
        Header add Access-Control-Allow-Methods: "GET,POST,OPTIONS,DELETE,PUT"
        Header add Access-Control-Allow-Headers: "Upgrade-Insecure-Requests"

Chrome is getting very strict on all this CORS stuff so best to learn it.
What did you Try? What did you Get? What did you Expect?

Joined CodeIgniter Community 2009.  ( Skype: insitfx )

Messages In This Thread
RE: Cannot login with CI4 after updating Chrome? - by InsiteFX - 01-13-2021, 03:00 PM

Theme © iAndrew 2016 - Forum software by © MyBB