Closed mshannaq closed 6 months ago
This isn't a bug. Please ensure that in your .env
file, you've correctly set all necessary variables, particularly app.baseURL
and cookie.domain
.
If cookie.domain
isn't set to a valid value, you might encounter this error.
By replacing .EXAMPLE.COM in cookie.domain
value with your actual domain name using for SmartyURL, you ensured that cookies are created and shared within the intended domain scope.
This allowed CodeIgniter's CSRF protection to function as expected, verifying the CSRF token and enabling a successful login process and other related from proccess.
When I installed SmartyURL and follow the install instructions on https://docs.smartyurl.extendy.net/developers/ and try to login I got error . and after I change the
CI_ENVIRONMENT
todevelopment
in.env
file I got the error