getgrav / grav-plugin-admin

Grav Admin Plugin
http://getgrav.org
MIT License
354 stars 227 forks source link

Invalid Security Token Bug #881

Open polo5922 opened 7 years ago

polo5922 commented 7 years ago

I have a problem when I install Grav and going on admin He said Invalid Security Token and i can't chage anything

flaviocopes commented 7 years ago

Already replied in chat and forum

bronze commented 7 years ago

same here, both fresh installs from skeletons, and installed admin via CLI my old install works though

edit: reinstalled from git, ran composer and bin/grav install and worked running from blog skeleton gives me this after composer

Generating autoload files
    Skipped installation of bin bin/minifycss for package matthiasmullie/minify: file not found in package
    Skipped installation of bin bin/minifyjs for package matthiasmullie/minify: file not found in package

and this after bin/grav install

ERROR Missing .dependencies file in user/ folder
ERROR invalid YAML in .dependencies
flaviocopes commented 7 years ago

bin/grav install is to be used in skeletons which come with a .dependencies file. Generally you don't need to run it when installing from git.

rsmarples commented 7 years ago

I get invalid token when the session requirement is secure but I'm not logging in by https:// If secure does mean https:// only, then the error message just needs to be improved.