Jump to content

Edit History

Prestafan33

Prestafan33

On 6/5/2021 at 9:53 AM, raultamayomate said:

If this  not work, edit the file /src/Core/Feature/TokenInUrls.php

change the isDisabled function whith:

public static function isDisabled()
    {
        //return getenv(self::ENV_VAR) === self::DISABLED;
        return false;
    }

greetings

Thanks for your solution. It works, but maybe you mean....

public static function isDisabled()
{
    //return getenv(self::ENV_VAR) === self::DISABLED;
    return true;
}

TRUE (isDisabled) instead of FALSE. This way, you're disabling security tokens for backend, but it works if you're having problems for that.

.... but I'm not sure, when I tried to save after that modification, I have a "The CSRF token is invalid"

Prestafan33

Prestafan33

On 6/5/2021 at 9:53 AM, raultamayomate said:

If this  not work, edit the file /src/Core/Feature/TokenInUrls.php

change the isDisabled function whith:

public static function isDisabled()
    {
        //return getenv(self::ENV_VAR) === self::DISABLED;
        return false;
    }

greetings

Thanks for your solution. It works, but maybe you mean....

public static function isDisabled()
{
    //return getenv(self::ENV_VAR) === self::DISABLED;
    return true;
}

TRUE (isDisabled) instead of FALSE. This way, you're disabling security tokens for backend, but it works if you're having problems for that.

×
×
  • Create New...