diff --git a/src/UnicaenAuthentification/Service/UserContext.php b/src/UnicaenAuthentification/Service/UserContext.php
index 59dce654422805e83c0eb302c8525004a5fc73ae..a501f4a505f1cb4d922f93e07385273bc9977af6 100644
--- a/src/UnicaenAuthentification/Service/UserContext.php
+++ b/src/UnicaenAuthentification/Service/UserContext.php
@@ -138,7 +138,7 @@ class UserContext extends AbstractService implements EventManagerAwareInterface
             return $user->getUsername();
         }
         if ($user = $this->getLdapUser()) {
-            return $user->getUsername($this->usenamefield);
+            return $user->getUsername($this->usernamefield);
         }
         if ($user = $this->getDbUser()) {
             return $user->getUsername();
@@ -542,4 +542,4 @@ class UserContext extends AbstractService implements EventManagerAwareInterface
             $this->setNextSelectedIdentityRole($role);
         }
     }
-}
\ No newline at end of file
+}