You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Jul 24, 2023. It is now read-only.
I followed the upgrade guide to upgrade v6. After testing I found out that authentication is now broken. Upon examining the logs I found the following:
The following query is executed:
select*from`users`where`objectguid` is nullor`email`= my_email limit1
Integrity constraint violation: 1062 Duplicate entry 'foo' for key 'users_username_unique'
The reason is of course that the first query returns the first row in the users table (id=1) because all objectguid fields are null after just upgrading an existing users database. The following part of the query seems wrong:
where`objectguid` is nullor
as that part will always cause the wrong user to be returned.