Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

user setup #86

Closed
kylerlaird opened this issue Apr 21, 2021 · 4 comments
Closed

user setup #86

kylerlaird opened this issue Apr 21, 2021 · 4 comments

Comments

@kylerlaird
Copy link

I'm new to Calendso. I'd be happy to work through the documentation but I see that docs.calendso.com is without an address. I'm guessing that means docs are not yet developed.

I was finally able to get Calendso installed on an Ubuntu instance. I'm having trouble creating a Calendso user. When I create one through Prisma Studio, the password that I enter is transformed to "null". I was hoping it's just getting hidden from display, but when I attempt to log in as that user, I get "Illegal arguments: string, object An error occurred when logging you in. Head back to the login screen and try again." I'm guessing that the object is "null" and it needs a password string.

Is there something special about the password field? Is it plaintext or a specially-formatted hash?

@kylerlaird
Copy link
Author

I went back to Prisma Studio and changed the password from null on the existing record. It seems to have saved the non-null value now. (The first time I did it was when I initially created the row.)

Unfortunately, I am still not able to log in. Now I get "Incorrect password An error occurred when logging you in. Head back to the login screen and try again."

I'm hoping I need to put a hash in there.

@baileypumfleet
Copy link
Contributor

Yes, you need to add the bcrypt hash to the password field, and ensure there is no extra white space.

@kylerlaird
Copy link
Author

Thanks! That did it.

$ python3 -c "import bcrypt; print(bcrypt.hashpw(b'my_password', bcrypt.gensalt()))"
b'$2b$12$aWHxn0PEq1MK0quN3j8kH.R68iD8wAW..H1aKpFU4JNaAERyJ3V4W'

@PabloCastellano
Copy link
Contributor

I had the same issue. I used the recommended bcrypt generator and could not log in because "Incorrect password".

The one-liner proposed by @kylerlaird worked fine though!

KATT added a commit that referenced this issue Sep 3, 2021
zomars pushed a commit that referenced this issue May 23, 2023
fix: event type validations skip
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants