supavisor icon indicating copy to clipboard operation
supavisor copied to clipboard

Better error when there is no `.` in the username or tenant `reference` in the `options` params

Open chasers opened this issue 1 year ago • 4 comments

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.

chasers avatar Feb 08 '24 23:02 chasers

Can't replicate:

Image

The log for bad password:

ClientHandler: Exchange error: "Wrong password" when method :auth_query

chasers avatar Feb 09 '24 12:02 chasers

And when I try a user which does not exist:

Image

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"

chasers avatar Feb 09 '24 12:02 chasers

Closing for now...

chasers avatar Feb 09 '24 12:02 chasers

Updated and re-opened

chasers avatar Feb 09 '24 17:02 chasers