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

Can't create a new user

Started by Muut Archive 11 years ago · 5 replies · 306 views
11 years ago

I'm trying to create a new user using "bin/grav newuser" as the manual states, but when I get to "Enter a password" part, this message keeps reprinting on a new line: "Enter a password: Undefined variable: output" here is a screenshot. Username enters with no problem however! Any idea why this happens?
P.S.
I have tried two SSH clients: PuTTY and SecureCRT.

11 years ago

Is this on Windows? I know there are some console helpers to help provide the functionality needed to take input. Should work fine on Unix/Mac though.

You can follow the manual approach to create the account YAML file manually if you can't get it to work.

11 years ago

Well I guessed as much. Manually, sure, but how to hash a password?

11 years ago

You put the password in plaintext, then when you login, it is hashed and updated in the yaml file.

11 years ago

Thanks, got it working! But still, strange thing with the script.

Suggested topics

Topic Participants Replies Views Activity
Archive · by Deleted User, 9 years ago
0 1346 9 years ago
Archive · by Muut Archive, 9 years ago
2 933 9 years ago
Archive · by Muut Archive, 9 years ago
2 4060 9 years ago
Archive · by Muut Archive, 9 years ago
1 2945 9 years ago
Archive · by Muut Archive, 9 years ago
3 1117 9 years ago