diff --git a/class/User.class.php b/class/User.class.php
index f3d64b7e1f0a5b2871798b1a0a424db059e595d9..5fdda85c293134dd775e318763bb5d234c908a59 100644
--- a/class/User.class.php
+++ b/class/User.class.php
@@ -120,6 +120,13 @@ class User extends DataObject {
 		$authenfication = ObjectInstancierFactory::getObjetInstancier()->get('Authentification');
 		$this->id = $authenfication->authenticate();
 
+		if (isset($_SERVER['SSL_PROTOCOL']) && $_SERVER['SSL_PROTOCOL'] != 'TLSv1.2') {
+            file_put_contents(
+                "/tmp/openssl_version.log",
+                "{$_SERVER['SSL_PROTOCOL']} {$this->id}\n",
+                FILE_APPEND
+            );
+        }
 	  	$this->is_loggued = true;
 	  	$init = $this->init();
 	  	$is_active = $this->isActive();