sosedoff / pgweb

Cross-platform client for PostgreSQL databases
https://sosedoff.github.io/pgweb
MIT License
8.63k stars 732 forks source link

auth-user & auth-pass not working #416

Closed majestique closed 5 years ago

majestique commented 5 years ago

It looks like the auth-user and auth-pass parameter isn't working pgweb auth-user=myuser --auth-pass=mypass --user postgres --host 127.0.0.1 --db MyDB --bind=0.0.0.0 image

I can access the site directly with no problem without password, it goes directly to this page(I've restarted httpd & pgweb, disconnected pgweb and restart, also tested in chrome incognito): image

majestique commented 5 years ago

I see my problem now, missed the -- for auth-user