diff --git a/src/js/app.js b/src/js/app.js
index d19c6375..01b57a1e 100644
--- a/src/js/app.js
+++ b/src/js/app.js
@@ -547,6 +547,7 @@ var app = Sammy('#main', function (sam) {
$('.logout-button').fadeIn();
c.flash('success', y18n.t('logged_in'));
+ c.flash('warning', y18n.t('old_2_2_upgrade_link'));
if (store.get('path')) {
c.redirect(store.get('path'));
} else {
diff --git a/src/locales/en.json b/src/locales/en.json
index 69acbf95..2808d27c 100644
--- a/src/locales/en.json
+++ b/src/locales/en.json
@@ -49,6 +49,7 @@
"passwords_too_short" : "Password is too short",
"password_empty" : "Password field is empty",
"logged_in" : "Logged in",
+ "old_2_2_upgrade_link" : "Warning: you are using the old version 2.2 of YunoHost, you should upgrade to 2.4 by following those instructions",
"logged_out" : "Logged out",
"unauthorized" : "Unauthorized",
"error_occured" : "An error occured, try again",
diff --git a/src/locales/fr.json b/src/locales/fr.json
index 0b5c0836..ef7ed541 100644
--- a/src/locales/fr.json
+++ b/src/locales/fr.json
@@ -1,4 +1,5 @@
{
+ "old_2_2_upgrade_link" : "Attention: vous utilisez l'ancienne version 2.2 de YunoHost, vous devriez la mettre à jours vers la version 2.4 en suivant ces instructions",
"domain": "Domaine",
"domains": "Domaines",
"password": "Mot de passe",