Skip to content

Commit 7a12bc1

Browse files
HypeMCnicolas-grekas
authored andcommitted
[Cache][HttpFoundation][Lock] Fix empty username/password for PDO PostgreSQL
1 parent 3f52221 commit 7a12bc1

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

Session/Storage/Handler/PdoSessionHandler.php

+4-4
Original file line numberDiff line numberDiff line change
@@ -112,16 +112,16 @@ class PdoSessionHandler extends AbstractSessionHandler
112112
/**
113113
* Username when lazy-connect.
114114
*
115-
* @var string
115+
* @var string|null
116116
*/
117-
private $username = '';
117+
private $username = null;
118118

119119
/**
120120
* Password when lazy-connect.
121121
*
122-
* @var string
122+
* @var string|null
123123
*/
124-
private $password = '';
124+
private $password = null;
125125

126126
/**
127127
* Connection options when lazy-connect.

0 commit comments

Comments
 (0)