Skip to content
Grav 2.0 is officially stable. Read the announcement →
Archive

New user

Started by Muut Archive 11 years ago · 15 replies · 390 views
11 years ago

Hello,
I have another problem. I install some plugins: email, form, login, admin. I create new user but I get information that I haven't got user. I create admin.yaml like this:

password: 'password'
email: '[email protected]'
fullname: 'Johnny Appleseed'
title: 'Site Administrator'
access:
admin:
login: true
super: true

First I create folder accounts in user folder.

11 years ago

The check for an existing user only checks the existence of a yaml file in the /user/accounts/ folder. Please double check the file's location.

11 years ago

Remember the yaml format:

YAML

password: password
email: y[email protected]
fullname: Johnny Appleseed
title: Site Administrator
access:
  admin:
    login: true
    super: true
---
11 years ago

I check both format with '' and without it. Both not working

11 years ago

Im not updated to all news but I read the new CLI command "newuser" you can try to use this instead to create a file directly ^^

11 years ago

@vicky0019 that error you are seeing is because you have updated the Grav admin, but you need to update Grav itself to the latest version of 0.9.42. You can do this via GPM:

BASH
$ bin/grav selfupgrade --force
11 years ago

BTW for reference, you are still running 0.9.40.

11 years ago

I think you fix the problem, nice to know ^^

11 years ago

Yes, I fix the problem when I install new grav version :)

Suggested topics

Topic Participants Replies Views Activity
Archive · by Deleted User, 9 years ago
0 1336 9 years ago
Archive · by Muut Archive, 9 years ago
2 926 9 years ago
Archive · by Muut Archive, 9 years ago
2 4056 9 years ago
Archive · by Muut Archive, 9 years ago
1 2941 9 years ago
Archive · by Muut Archive, 9 years ago
3 1112 9 years ago