diff --git a/include/class.auth.php b/include/class.auth.php
index a106d6a4c9fa89dce87115dfa7c460b4f19a0903..a924d9cd5a990bc507ba0028014490a5445e732b 100644
--- a/include/class.auth.php
+++ b/include/class.auth.php
@@ -1126,8 +1126,7 @@ class AuthTokenAuthentication extends UserAuthenticationBackend {
 
 }
 
-if ($cfg && $cfg->isAuthTokenEnabled())
-    UserAuthenticationBackend::register('AuthTokenAuthentication');
+UserAuthenticationBackend::register('AuthTokenAuthentication');
 
 //Simple ticket lookup backend used to recover ticket access link.
 // We're using authentication backend so we can guard aganist brute force