Skip to content
● Meet Grav Guard: keep every Grav site you run secure and up to date, all from one place. Free for up to 3 sites. Read more →

Grav admin: adding new account seems to fail

Started by Béla Bernat Hackman 7 years ago · 1 replies · 662 views
7 years ago

This is regarding a fresh install of Grav v1.7.0-rc.8 - Admin v1.10.0-rc.8:

When a new account is added to admin, and it's fields populated, trying to save it generates a 404 error. Then an attempt to log in using the new account's username and password fails with "Login failed...". Logging in with the initial admin account works correctly. This is the case on both my local development server and on the production server.

In user/accounts a new yaml file is created with what looks like a 32 digit hex number as its name (e.g. 'b5ec29f160ca2a63e70f08d39f6792bb.yaml'). If this file name is used as the username or if the yaml file name is changed to intended username everything works correctly. So I assume the 404 is because admin is looking for a yaml file with the correct username and at login admin expects the numeric name.

I'm guessing this is a bug and needs to be reported as such. But I thought I'd document this behavior here should others run into it.

7 years ago

I'm also getting 404 error on adding/editing groups, the group file is created and i can attach a user to the new group, but cannot edit once created. Also a fresh install of Grav v1.7.0-rc.8 - Admin v1.10.0-rc.8:

Suggested topics

Topic Participants Replies Views Activity
Support · by Anna, 4 days ago
1 96 4 days ago
Support · by Anna, 3 weeks ago
1 265 3 weeks ago
Support · by webmasterodp, 1 month ago
4 380 1 month ago
Support · by nwhitfield, 1 month ago
2 351 1 month ago
Support · by stell, 2 months ago
5 657 1 month ago