What's the best way to change user information for sites only hosted on the local webserver? #931
-
Hi, I have a Yellow site which isn't online—I run it locally (with I want to change the email associated with my username. Entering In This comment suggests there is a way to do this by just editing yellow-user.ini and entering a new bcrypt hash. But it doesn't say what is used to generate the hash, though I assume it's something like "username email password". What text exactly do I need to enter for the hash? edit: Surprisingly, just changing the email address in the "Email: " field in yellow-user.ini worked! |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
In your case, I would recommend (due to the unknown flags set) to simply remove the account with
and to set it up again
Edit the details afterwards in your If the account is valid (not pending, active etc.) you could also change the |
Beta Was this translation helpful? Give feedback.
In your case, I would recommend (due to the unknown flags set) to simply remove the account with
php yellow.php user remove [old email]
and to set it up again
php yellow.php user add [new email] [password]
.Edit the details afterwards in your
yellow-user.ini
.If the account is valid (not pending, active etc.) you could also change the
Email
line with a text editor in youryellow-user.ini
.