-
Notifications
You must be signed in to change notification settings - Fork 2
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
Error when registering user #72
Labels
Comments
mirceaalexandru
changed the title
Error when inserting a user
Error when registering user
May 23, 2016
The is fixed by senecajs/seneca-user#43 |
Problem do not seems to be solved.
|
The problem seems to be here: https://github.com/senecajs/seneca-user/blob/master/user.js#L418 as this is generating values that contains invalid characters for bytea type. |
mirceaalexandru
added a commit
that referenced
this issue
May 25, 2016
use custom generated salt. Fixes #72
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Sometimes we have this, because of the value from hashed password being saved:
[postgres - 4337]: ERROR: invalid byte sequence for encoding "UTF8": 0x00
STATEMENT: INSERT INTO sys_user ("nick","email","name","active","when","email_validated","force_pwd_change","salt","pass","id") values ($1,$2,$3,$4,$5,$6,$7,$8,$9,$10)
The text was updated successfully, but these errors were encountered: