rmfakecloud icon indicating copy to clipboard operation
rmfakecloud copied to clipboard

Bug: Mismatch username and email

Open TheOrdinaryWow opened this issue 4 years ago • 3 comments

So by doing following steps I believe there will be an error during changing password.

  1. Create an user using command rmfakecloud setuser -u <username> -p newpassword
  2. Enter that user’s data folder and specify its email to any email like <email> via modifying .userprofile and restart rmfakecloud.
  3. Login as that user in browser.
  4. Reset password. An error SyntaxError: Unexpected end of JSON input While in the console, it throws error that rmfakecloud is trying to locate folder data_folder/users/<email> instead of data_folder/users/<username>.

TheOrdinaryWow avatar May 10 '21 10:05 TheOrdinaryWow

it was just a hack, it was mostlyt username = email. i was not sure whether to just have it like that or have a separate email.

what do you need the email for, if you want to have it as a sender, I think i'll have to fix it

ddvk avatar May 10 '21 12:05 ddvk

Well I guess I knew why I need that. The webpage indicated so.

image

Moreover there's a option in .userprofile, so I thought that I might finished that as well. Then I did it and error occurred.

:p

TheOrdinaryWow avatar May 13 '21 10:05 TheOrdinaryWow

Ran into this accidentally as well.

Eeems avatar Dec 05 '21 08:12 Eeems