Open notakoder opened 1 year ago
Have a look at my PR. If you just want to make it work with Pico 3 alpha you got to change in composer.json: "picocms/pico": "~3.0" and "symfony/yaml" to the according version of Pico, otherwise composer will complain. Due to breaking changes in Twig, in src/PicoAuthPlugin.php you have to change lines 321 & 330: new \Twig_SimpleFunction( -> new \Twig\TwigFunction(
Hope it helps
Thanks for the reply. picocms/pico is already set to 3.0 in composer.json in the Pico alpha release.
"picocms/pico": "^3.0",
I cannot find "symfony/yaml" in composer.json. Should I add it or did you mean something else?
The changes in src/PicoAuthPlugin.php can only be made once the plug in is installed.
The current release of Pico Auth cannot be installed using composer on the Pico3 alpha release. It complains about
Changing the version in
composer.json
does not help either.When an existing Pico 2x installation with Pico Auth installed and working is upgraded to Pico 3.xalpha release, this is error showed in the website.
Is a compatible release be expected in any foreseeable future or is there a way to make the existing PicoAuth installation work with alpha release?