[users] unable to list users when using external authentication #2110

Closed
opened 2026-10-05 01:06:37 +02:00 by adam · 0 comments
Owner

related to https://fr.piwigo.org/forum/viewtopic.php?pid=242537 (in french) and #2158

When redesigning the user popin, we added a system for changing the main user, and I added a query to the User table to retrieve the main user's username, but I forgot to add the configuration fields for this table ($conf['user_fields']). So an Sql errors appears Uncaught mysqli_sql_exception: Unknown column 'username' in 'SELECT....

related to https://fr.piwigo.org/forum/viewtopic.php?pid=242537 (in french) and #2158 When redesigning the user popin, we added a system for changing the main user, and I added a query to the User table to retrieve the main user's username, but I forgot to add the configuration fields for this table (`$conf['user_fields']`). So an Sql errors appears `Uncaught mysqli_sql_exception: Unknown column 'username' in 'SELECT...`. <!-- github-sync-id:3579512443 -->
adam closed this issue 2026-10-05 01:06:37 +02:00
Sign in to join this conversation.
No labels
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: adam/Piwigo#2110