what we did
- i as admin, changed email on profile
- user confirmed new email by link in received email
- user do have access to site thru link
- but he tries to log in thru google authorization, user got 500 error
I asked user to give me error details however i see error message in logs (fyi, cleaned values)
PG::UniqueViolation: ERROR: duplicate key value violates unique constraint "index_google_user_infos_on_user_id"
DETAIL: Key (user_id)=(2512) already exists.
: INSERT INTO "google_user_infos" ("user_id", "google_user_id", "email", "first_name", "last_name", "gender", "name", "profile_link", "picture", "created_at", "updated_at") VALUES (2512, 'xxxxxxxxxxxxxxxxx', 'lxxxxxxx@gmail.com', 'xxxxx', 'xxxxxx', 'male', 'xxxxx xxxxxx', 'https://plus.google.com/xxxxxxxxxxxxxxxxxxxxx', 'https://lh3.googleusercontent.com/-xxxxxxxxxxxxxxxxx/photo.jpg?sz=50', '2016-01-12 08:17:40.260340', '2016-01-12 08:17:40.260340') RETURNING "id"
Any ideas what to do next?