Skip to content
GitLab
Explore
Sign in
Commits on Source (1)
Only debug auth_cookie_malformed when non-empty
· e6a213bb
ale
authored
Mar 26, 2023
e6a213bb
Hide whitespace changes
Inline
Side-by-side
login-debug.php
View file @
e6a213bb
...
...
@@ -9,7 +9,9 @@
**/
function
debug_login_auth_cookie_malformed
(
$cookie
,
$scheme
)
{
error_log
(
"LOGIN: auth_cookie_malformed: scheme=
{
$scheme
}
cookie=
{
$cookie
}
"
);
if
(
$cookie
)
{
error_log
(
"LOGIN: auth_cookie_malformed: scheme=
{
$scheme
}
cookie=
{
$cookie
}
"
);
}
}
add_action
(
'auth_cookie_malformed'
,
'debug_login_auth_cookie_malformed'
,
10
,
2
);
...
...