projects
/
pgbouncer.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
6c4935b
)
Remove pointless cf_auth_type check
author
Marko Kreen
<markokr@gmail.com>
Thu, 20 Aug 2015 18:04:54 +0000
(21:04 +0300)
committer
Marko Kreen
<markokr@gmail.com>
Thu, 20 Aug 2015 18:04:54 +0000
(21:04 +0300)
src/client.c
patch
|
blob
|
blame
|
history
diff --git
a/src/client.c
b/src/client.c
index 7348e34c7c1166273890bb570fd6bd9f89c5ce6a..f5a383ec8978353781a1a871e918f3b6e5579b2a 100644
(file)
--- a/
src/client.c
+++ b/
src/client.c
@@
-565,12
+565,6
@@
static bool handle_client_startup(PgSocket *client, PktHdr *pkt)
return false;
}
- /* haven't requested it */
- if (cf_auth_type <= AUTH_TRUST) {
- disconnect_client(client, true, "unrequested passwd pkt");
- return false;
- }
-
ok = mbuf_get_string(&pkt->data, &passwd);
if (ok && check_client_passwd(client, passwd)) {
if (!finish_client_login(client))