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

Database error during password change (tokio_postgres) #65

Open
varpeti opened this issue Aug 13, 2023 · 0 comments · May be fixed by #66
Open

Database error during password change (tokio_postgres) #65

varpeti opened this issue Aug 13, 2023 · 0 comments · May be fixed by #66

Comments

@varpeti
Copy link

varpeti commented Aug 13, 2023

It causes a database error during a password change:

database-db-1  | 2023-08-13 22:02:05.531 UTC [1462] ERROR:  syntax error at or near "table" at character 9
database-db-1  | 2023-08-13 22:02:05.531 UTC [1462] STATEMENT:
database-db-1  | 	UPDATE table SET
database-db-1  | 	    email = $2,
database-db-1  | 	    password = $3,
database-db-1  | 	    is_admin = $4,
database-db-1  | 	WHERE
database-db-1  | 	    id = $1

I think under the tokio_postgres implementation the UPDATE_USER sql code is wrong.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
1 participant