diff --git a/core/modules/user/src/Controller/UserAuthenticationController.php b/core/modules/user/src/Controller/UserAuthenticationController.php index 610df9f0af42ea7be2ddb5e56000009438576e96..abab9a5856618a9db8827551dbe4ae55869bd53b 100644 --- a/core/modules/user/src/Controller/UserAuthenticationController.php +++ b/core/modules/user/src/Controller/UserAuthenticationController.php @@ -29,14 +29,14 @@ class UserAuthenticationController extends ControllerBase implements ContainerIn * * @var string */ - const LOGGED_IN = 1; + const LOGGED_IN = '1'; /** * String sent in responses, to describe the user as being logged out. * * @var string */ - const LOGGED_OUT = 0; + const LOGGED_OUT = '0'; /** * The user flood control service.