[TASK] Add LoginType enumeration
[Packages/TYPO3.CMS.git] / typo3 / sysext / core / Classes / Authentication / AuthenticationService.php
index 4c8f28f..4b94f58 100644 (file)
@@ -49,7 +49,7 @@ class AuthenticationService extends AbstractAuthenticationService
      */
     public function getUser()
     {
-        if ($this->login['status'] !== 'login') {
+        if ($this->login['status'] !== LoginType::LOGIN) {
             return false;
         }
         if ((string)$this->login['uident_text'] === '') {