#302
Better error when there is no `.` in the username or tenant `reference` in the `options` params
Respond with a good error message when there is no . in the username to split on to pull the tenant from and there are no options params to pull the tenant from either.
Activity
5And when I try a user which does not exist:
And the log message:
ClientHandler: Authentication auth_secrets error: "There is no user 'joe' in the database. Please create it or change the user in the config"Closing for now...
Updated and re-opened
@hauleth I believe the error messages have already improved
$ psql postgresql://postgres2.dev_tenant:postgres1@localhost:6543/postgres
psql: error: connection to server at "localhost" (127.0.0.1), port 6543 failed: FATAL:
Authentication error, reason: "There is no user 'postgres2' in the database. Please create it or change the user in the config"
Can't replicate:
The log for bad password: