diff options
Diffstat (limited to 'src/backend/libpq/crypt.c')
-rw-r--r-- | src/backend/libpq/crypt.c | 8 |
1 files changed, 0 insertions, 8 deletions
diff --git a/src/backend/libpq/crypt.c b/src/backend/libpq/crypt.c index 0013ee38786..1715c524622 100644 --- a/src/backend/libpq/crypt.c +++ b/src/backend/libpq/crypt.c @@ -71,14 +71,6 @@ get_role_password(const char *role, char **logdetail) ReleaseSysCache(roleTup); - if (*shadow_pass == '\0') - { - *logdetail = psprintf(_("User \"%s\" has an empty password."), - role); - pfree(shadow_pass); - return NULL; /* empty password */ - } - /* * Password OK, but check to be sure we are not past rolvaliduntil */ |